mysql忘记登录密码解决方法

报错情况如下: [[email protected] ~]# mysql -uroot -p Enter password: ERROR 1045 (28000): Access denied for user ‘root’@‘localhost’ (using password: YES) 解决方法: 编辑配置文件: vim /etc/my.cnf 在最后一行添加skip-grant-table
相关文章
相关标签/搜索