Unsupported Screen Size: The viewport size is too small for the theme to render properly.

Forum Replies Created

Viewing 15 posts - 2,176 through 2,190 (of 7,398 total)
  • Author
    Posts
  • in reply to: #28427
    peterlaursen
    Participant

    [attachment=1123:testtable.jpg] [attachment=1124:testtable2.jpg]

    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.)

    in reply to: #28440
    peterlaursen
    Participant
    in reply to: #28438
    peterlaursen
    Participant

    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!

    in reply to: #28425
    peterlaursen
    Participant

    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)

    in reply to: #28423
    peterlaursen
    Participant

    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;

    in reply to: #28421
    peterlaursen
    Participant

    I think it is obvious here that the database using utf8 default charset has created tables as utf8 and latin2 strings were stored in there!

    How did you 'move with SQLyog'? exporting/importing or some other way?

    What was theserver version? Was it a 3.x or 4.0?

    in reply to: #28395
    peterlaursen
    Participant

    What I wrote in my last post was wrong.

    We do SET NAMES UTF8 when we reconnect – no matter if the query is generated by the GUI or typed in the editor.

    Why it has no effect for you I am not able to tell at the moment. We will try finding out something more!

    in reply to: #28417
    peterlaursen
    Participant

    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)!

    in reply to: #28283
    peterlaursen
    Participant

    @sathyan .. I deleted your add (+spyware) post! We do not accept it here! Find somewhere to earn decent money!

    in reply to: #28394
    peterlaursen
    Participant

    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

    in reply to: #28407
    peterlaursen
    Participant

    [attachment=1119:twofks.jpg]

    I understand the problem like this. First FK from child to parent creates cusscessfuly .. the next raises this error like in image. Correct?

    Most likely it is because you did not change the CONSTRAINT NAME

    This fails

    Code:
    alter table `test`.`child` add constraint `FK_child` FOREIGN KEY (`secondfkcol`) REFERENCES `parent` (`id`)

    This succeeds

    Code:
    alter table `test`.`child` add constraint `FK_child2` FOREIGN KEY (`secondfkcol`) REFERENCES `parent` (`id`)
    in reply to: #28402
    peterlaursen
    Participant

    yes .. you are correct. Currently there is no way to resume a Query Builder session once it has been closed.

    It is definitely something we want to do, but currently I cannot tell when.

    in reply to: #28392
    peterlaursen
    Participant

    I think we fixed that in 7.15! Please try 8.01!

    in reply to: #28400
    peterlaursen
    Participant

    They will not be removed from our distribution! That does not mean that we will not consider how it is done.

    And the difference between COMMUNITY and ENTERPRISE is much more than that.

    Refer to: http://webyog.com/en/sqlyog_feature_list.php

    in reply to: #28387
    peterlaursen
    Participant

    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).

Viewing 15 posts - 2,176 through 2,190 (of 7,398 total)