一、修改 mysql 的 root 密码
mysql> use mysql;
mysql> update user set password=password('123456') where user='root' and host='localhost'; mysql> flush privileges;CTRL+C 退出重新进入即可!
本文共 232 字,大约阅读时间需要 1 分钟。
mysql> use mysql;
mysql> update user set password=password('123456') where user='root' and host='localhost'; mysql> flush privileges;CTRL+C 退出重新进入即可!
转载于:https://www.cnblogs.com/gzbit-zxx/p/9557298.html