以管理员身份运行cmd,
cd D:\mysql-5.7.5-m15-winx64\bin
mysqld --initialize-insecure --user=mysql
mysqld -install
net start MySQL
mysql -u root -p
alter user 'root'@'localhost' identified by '123456';
commit;
微信扫一扫
以管理员身份运行cmd,
cd D:\mysql-5.7.5-m15-winx64\bin
mysqld --initialize-insecure --user=mysql
mysqld -install
net start MySQL
mysql -u root -p
alter user 'root'@'localhost' identified by '123456';
commit;
相关推荐