标签:pass hat mysq where art 打开 mys string win
MYSQL_HOME = "???" //???指自己的mysql目录
PHAT=%MYSQL_HOME%
[mysqld]
basedir=???
datadir=???\dataport=3306
skip-grant-tables
输入 mysql -install //安装mysql
输入 mysqld --initialize-insecure --user=mysql //初始化数据文件
进入界面后更改root密码 update mysql.user set authentication_string=password(‘设置的密码’) where user=‘root‘ and Host=‘localhost‘‘;
输入 flush privileges; //刷新权限
net stop mysql
net start mysql
标签:pass hat mysq where art 打开 mys string win
原文地址:https://www.cnblogs.com/yfyyy/p/12334983.html