# For advice on how to change settings please see # http://dev.mysql.com/doc/refman/5.6/en/server-configuration-defaults.html # *** DO NOT EDIT THIS FILE. It's a template which will be copied to the # *** default location during install, and will be replaced if you # *** upgrade to a newer version of MySQL. [client] default-character-set=utf8 [mysqld] # 设置mysql服务器编码 character_set_server=utf8 #basedir设置mysql的安装目录,如果目录中带空格则必须加引号 #datadir设置mysql数据库的数据的存放目录,文件夹名必须是data basedir=F:mysqlmysql-5.6.19-winx64 datadir=F:mysqlmysql-5.6.19-winx64data
(4)保存退出