时间:2021-07-01 10:21:17 帮助过:29人阅读
[root@sunshine]# mysql -uroot -p
Enter password:
mysql> use mysql
mysql> grant all privileges on *.* to ‘root‘@localhost identified by ‘123456‘;
mysql> flush privileges;
//下次登陆密码就是 123456
本文出自 “sunshineboy” 博客,请务必保留此出处http://sunshineboy.blog.51cto.com/10310940/1661349
mysql修改密码
标签:mysql修改密码