mysql 修改密码

首先登录MySQL。
mysql> use mysql;
mysql> update user set password=password('123') where user='root' and host='localhost';
mysql> flush privileges; 
今日事今日毕
原文地址:https://www.cnblogs.com/gjack/p/7512566.html