katris
Новичок
PHPMyAdmin - Русский язык за три шага! (Самое простое руководство)
Я много читал в форуме что и как делать, чтобы русский язык отображался правильно, а не в виде вопросительных знаков или абракодабры. И нашел действенный способ под винду в трех шагах...
Шаг первый - открываем My.ini
Шаг второй - копируем туда кусок кода (заменяя старый)
[client]
port=3306
[mysql]
default-character-set="utf8"
# SERVER SECTION
# ----------------------------------------------------------------------
#
# The following options will be read by the MySQL Server. Make sure that
# you have installed the server correctly (see above) so it reads this
# file.
#
[mysqld]
skip-character-set-client-handshake
# The TCP/IP Port the MySQL Server will listen on
port=3306
#Path to installation directory. All paths are usually resolved relative to this.
basedir="C:/Program Files/MySQL/MySQL Server 5.0/"
#Path to the database root
datadir="C:/Program Files/MySQL/MySQL Server 5.0/Data/"
# The default character set that will be used when a new schema or table is
# created and no character set is defined
#default-character-set="cp1251"
default-collation="cp1251_general_ci"
character-set-server="utf8"
# The default storage engine that will be used when create new tables when
default-storage-engine=MyISAM
Шаг третий - перезапускаем MySQL
У меня работает безупречно!
Может и вам пригодится...
Я много читал в форуме что и как делать, чтобы русский язык отображался правильно, а не в виде вопросительных знаков или абракодабры. И нашел действенный способ под винду в трех шагах...
Шаг первый - открываем My.ini
Шаг второй - копируем туда кусок кода (заменяя старый)
[client]
port=3306
[mysql]
default-character-set="utf8"
# SERVER SECTION
# ----------------------------------------------------------------------
#
# The following options will be read by the MySQL Server. Make sure that
# you have installed the server correctly (see above) so it reads this
# file.
#
[mysqld]
skip-character-set-client-handshake
# The TCP/IP Port the MySQL Server will listen on
port=3306
#Path to installation directory. All paths are usually resolved relative to this.
basedir="C:/Program Files/MySQL/MySQL Server 5.0/"
#Path to the database root
datadir="C:/Program Files/MySQL/MySQL Server 5.0/Data/"
# The default character set that will be used when a new schema or table is
# created and no character set is defined
#default-character-set="cp1251"
default-collation="cp1251_general_ci"
character-set-server="utf8"
# The default storage engine that will be used when create new tables when
default-storage-engine=MyISAM
Шаг третий - перезапускаем MySQL
У меня работает безупречно!
Может и вам пригодится...