打开cmd:
输入:mysql -hlocalhost -uroot -p
然后:
show variables like ‘char%‘;
dos命令连接mysql并且查看编码方式
原文:http://www.cnblogs.com/Eilen/p/7007590.html