最佳答案
是在MysqL配置文件(通常称为my.cnf)中指定的排序规则选项.它应该看起来像这样(在[MysqLd]部分中):
character-set-server=utf8
collation-server=utf8_general_ci
更多信息:
> http://dev.mysql.com/doc/refman/5.0/en/charset-server.html
> http://macboypro.com/blog/2009/07/31/mysql-5-1-riding-on-utf8-collation-client-and-server-tutorial/
> http://mysql2.mirrors-r-us.net/doc/refman/5.1/en/charset-connection.html