just as i expected - pre6 version of SQLyog shows my data (in cp1251) fine.
i now created a temp table and inserted one row with SQLyog and one directly with local/bin/mysql in console. both rows contain russian characters. the first line shows ok in SQLyog, while second is garbled (see attachment). in console the situation is reversed:
CODE
+----+--------------+---------------+
| id | title | body |
+----+--------------+---------------+
| 1 | Первый | Первый! |
| 2 | второй | второй |
+----+--------------+---------------+
2 rows in set (0.01 sec)
so here's what happened: regardless of anything SQLyog inserted all data in utf8, but that is NOT what i want. is there a way to disable such behavier?
moreover, when i disconnected from the db and logged in again what i see in SQLyog is a total mess (image2.png) while console is still showing same as before..
QUOTE (peterlaursen @ Jul 6 2007, 03:31 PM)

This (in my.cnf)
set-variable=default-character-set=cp1251
init_connect='SET NAMES cp1251'
.. will not have effect with SQLyog because SQLyog does 'SET NAMES utf8'.
You can try yourself to execute (from SQLyog)
'SHOW VARIABLES LIKE '%character%'.
SQLyog 6 is designed to ALWAYS use utf8 on the client side!
I also think the FAQs explained in detail!
But SET NAMES (neither yours or ours) has no effect on binary types like BLOBs! If you alter table and change BLOBs to TEXT I think it will display. It surprises me that selecting ASCII/ANSI in the dropdown does not make things display correct. I will hav to study cyrillic charsets more in detail, I think!
Please dump, zip and attach a small table that illustrates the problem plus a few screendumps of how it displays on your system!
SQLyog 5.32 COMMUNITY can be downloaded from
http://www.webyog.com/downloads/SQLyog532.exe