在mysql的dos命令窗口 show variables show variables like 'char%'; 显示包括字符的系统变量 设置字符编码的命令 SET NAMES 'charset_name'