SQLyog 4.0 does not set character_set_client, character_set_connection and character_set_results variables in accordance with the connected mysql server's settings. Therefore, simple queries involving character comparisons fail with the infamous “invalid collation …” messages. To overcome this situation, one can set these variables manually, each time after a connection is established to the mysql server:
set character_set_client = latin5;
set character_set_connection = latin5;
set character_set_results = latin5;
Replace latin5 with your desired character set.
Prevoius 3.71 version did not have this bug.
Regards,
Gokhan Demir