赞
踩
以管理员身份打开cmd窗口并切换到MySQL安装目录:
cd C:\Program Files\MySQL\MySQL Server 5.7\bin
执行删除MySQL服务命令:sc delete MySQL服务名
sc delete MySql57
注意:如果不知道自己的MySQL服务名可以去【我的电脑】右键选择【管理】然后选择【服务】输入MySQL就可以查看自己的MySQL服务名
在mysql程序的根目录下,新建一个my.ini空白文件,用记事本打开,将以下内容复制进去
# http://dev.mysql.com/doc/refman/5.6/en/server-configuration-defaults.html
[client]
default-character-set = utf8
[mysql]
default-character-set = utf8
[mysqld]
character-set-client-handshake = FALSE
character-set-server = utf8
init_connect='SET NAMES utf8'
# Remove leading # and set to the amount of RAM for the most important data
# cache in MySQ
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。