解决mysql 写入中文读出乱码的问题

show VARIABLES like 'character_%';
先查看一下,各个设置的编码是否是 utf8

set character_set_client=utf8;
set character_set_server=utf8;

set character_set_connection=utf8;

posted @ 2011-11-08 11:02  家中慢步  阅读(313)  评论(0编辑  收藏  举报