标签:mysql修改密码
[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修改密码
原文地址:http://sunshineboy.blog.51cto.com/10310940/1661349