After import both tables display completely as garbage – so this is definitely correct Polish (jokes apart: I acually know Polish a little and was a moderate Russian and Czech speaker many years ago)! Also to me the tables look exactly the same – they are both defined wiht a latin 2 charset. I imported to a server and database having utf8 (default) charset). I do not see anything wrong here! Please correct me if I misunderstood!
I wonder if you are using an old program version (before 6.0) ??
As regards export settings I think I would normally use the export settings displayed here:
[attachment=1125:expsettings.jpg]
with the additional explanation that
* what I marked with BLUE tells if the dump will create the database or not whne improting it. It is simple to crate an empty database in advance if you need to import/restore so normally I would not check those. And if you do not check you can import to a database named differently.
* what I marked with RED I would normally check if tables are InnoDB. That will prevent other clients to write to the database while backing up what could cause violating of Foreign Key CONSTRAINTS ('relationships').
* what I marked with BROWN will similarly prevent writing to the database by other clients while restoring. The SET FKCHECKS = 0 command is also required if you have Foreign keys (and if you do not, the command is harmless)
The RED options define what is happening while backup is running. All the others define what is written to the file (and yes .. they should be 'grouped' in 2 different groups accordingly).
To fully understand you need to read MySQL documentation on relevant commands (CREATE TABLE, LOCK, SET etc.)
My best guess is that this is a firewall issue! Probably your firewall has detected that this new version is not the same program as the old one and will block it!
I think there is something wrong with the archive. I cannot unzip it! Please try again and please use the built-in-Windows zip program (if you did not)
1) SQLyog will always encode dumps with utf8 encoding. But that is a *file encoding only* and is unrelated to how data are stored!
2) “server version/s are in my first post here.” I do not think you told what the first server version was – only the two new where you imported! It is important if the first/original/source database was <4.1 or >=4.1!
Anyway please attach a small dump (zipped!) of a table where this is reproducable. You can create such small table like this
CREATE TABLE newtable AS SELECT * FROM oldtable LIMIT 20;
Click on the buttons and the BLOB viewer will open! The square displaying '11 B' is such a button!
But you should not use the TEXT datatype for such short strings! The TEXT type in MySQL is the same as what is named 'CLOB' (character long object) in Standard SQL. For short strings use CHAR or VARCHAR types. (do not confuse with Access terminology: A MySQL 'TEXT' is similar to an Access 'NOTE' type – a Access 'TEXT' is similar to a MySQL 'CHAR'/'VARCHAR' type!).
Using BLOBs and TEXTs when not required may degrade server performance with the table (and also you cannot have defaults for such columns)!
OK – confirmed: We reset SQL_MODE and NAMES to default when a reconnect takes place during a GUI operation – not when executing a statement from the editor.
We are discussing a more flexible and elegant solution
We will solve this with priority (miss Sandhya has started already actually!), but only as I first wrote. We cannot follow your last advice immediately as we would would need to set a flag for every cell in the grid telling if content was changed. This is a very 'low-level' change in the grid code, will have side-effects and would take considerable time, what we cannot afford now (currently we only set a flag per row what you can also easily see yourself by performing an UPDATE and check the SQL from HISTORY).
Also we have tried to reproduce a crash, but with no luck. If you can attach a table and tell a SQL statement to reproduce with, we will will try, if you want. But as we will not perform this operation again when this fix has been implemented I personally do not think it is worth the effort (but should you have some spatial-related crash *after* the fix we will of course check this).
Author
Posts
Viewing 15 posts - 2,176 through 2,190 (of 7,398 total)