@wkl17
请你仔细看我文中写的,我并没有写要添加default-character-set=utf8或default-character-server=utf8这些,我只写了要改编码。你怎么会添加呢?
第一个地方要改的是[mysql],改它下面的default-character-set=utf8
第二个地方[mysqld],这下面改character-set-server=utf8
以下是我用status显示的结果
-------------------------------
mysql Ver 14.14 Distrib 5.5.36, for Win32 (x86)
Connection id: 1
Current database:
Current user: root@localhost
SSL: Not in use
Using delimiter: ;
Server version: 5.5.36 MySQL Community Server (GPL)
Protocol version: 10
Connection: localhost via TCP/IP
Server characterset: utf8
Db characterset: utf8
Client characterset: utf8
Conn. characterset: utf8
TCP port: 3306
Uptime: 43 sec
-----------------------------------
你的很明显是服务器端还是latin1字符集,而客户端却是gbk,你再好好检查一下
回复 更多评论