1.mysql -uroot
2.use mysql
3.UPDATE user SET Password=PASSWORD('123456') where USER='root';
4.FLUSH PRIVILEGES;
5.quit
6.mysql -uroot -p
7.输入123456成功
Access denied for user 'root'@'localhost' (using password: YES)
阅读 98
2023-03-21
1.mysql -uroot
2.use mysql
3.UPDATE user SET Password=PASSWORD('123456') where USER='root';
4.FLUSH PRIVILEGES;
5.quit
6.mysql -uroot -p
7.输入123456成功
相关推荐
精彩评论(0)