http://www.cnblogs.com/sunzn/archive/2013/03/14/2960248.html
修改/etc/my.cnf
添加:
- [mysql]
- default-character-set=utf8
- [mysqld]
- character-set-server=utf8
客户端查询中文乱码:
mysql --default-character-set=utf8 -uroot -p
http://www.cnblogs.com/sunzn/archive/2013/03/14/2960248.html
修改/etc/my.cnf
添加:
客户端查询中文乱码:
mysql --default-character-set=utf8 -uroot -p