当前位置:Gxlcms > 数据库问题 > mysql忘记密码

mysql忘记密码

时间:2021-07-01 10:21:17 帮助过:11人阅读

在/ect/my.cnf中添加如下: skip-grant-tables sudo mysqld restart mysql回车,进入到sql >user mysql; >update user set authentication_string=password(‘123qwe‘) where user=‘root‘ and Host = ‘localhost‘; 搞定; 删掉skip-grant-tables; sudo mysqld restart 完事;

mysql忘记密码

标签:and   oca   cat   white   回车   art   use   div   rest   

人气教程排行