MySQL 忘记密码
时间:2021-04-12 12:44:01
收藏:0
阅读:0
1. vi /etc/my.cnf
2. update mysql.user set authentication_string=password(‘123456‘) where user=‘root‘ and host=‘localhost‘;
3. FLUSH PRIVILEGES;
评论(0)