Linux系统修改mysql默认编码:

首先查看现在的编码show variables like ‘character%’;

结果如下:

mysql> show variables like 'character%';

+--------------------------+----------------------------+

 Variable_name

 Value

+--------------------------+----------------------------+

 character_set_client

 latin1

 character_set_connection

 latin1

 character_set_database

 latin1

 character_set_filesystem

 binary

 character_set_results

 latin1

 character_set_server


全文:http://bbs.landingbj.com/t-0-250766-1.html