windows系统下mysql5.5查看和设置数据库编码 1.显示当前编码命令: show variables like 'char%'; 2.设置编码为utf8命令:set names 'utf8';