dos命令连接mysql并且查看编码方式

打开cmd:

输入:mysql -hlocalhost -uroot -p

然后:

show variables like 'char%';


原文地址:https://www.cnblogs.com/Eilen/p/7007590.html