MySQL Пример my.cfg в котором решены проблемы кирилицы

Ноябрь 2nd, 2012
[client]
default-character-set=utf8
init-connect="SET NAMES utf8"
init-connect="SET CHARACTER SET utf8"
init-connect="SET CHARSET utf8"
default-collation=utf8_general_ci[mysqld]
innodb_file_per_table=1
character_set_server=utf8
collation-server=utf8_bin
init_connect="SET NAMES utf8 collate utf8_bin"
init-connect="SET CHARACTER SET utf8"
character_set_client=utf8
default-collation=utf8_general_ci
skip-character-set-client-handshake
default-character-set=utf8

[mysql]
default-character-set=utf8
init-connect="SET NAMES utf8"
init-connect="SET CHARACTER SET utf8"
init-connect="SET CHARSET utf8"
default-collation=utf8_general_ci

Смотрите также: