1. 在mysql5.0版中,运行mysql命令时,出现错误提示,提示内容为:
mysql: Character set 'utf-8' is not a compiled character set and is not specified in the 'C:"mysql""share"charsets"Index.xml' file
解决方法为打开mysql安装路径下的my.ini,把:
default-character-set=utf-8修改为default-character-set=utf8,重启mysql服务