使用密码的Mysql错误是 [英] Mysql error using password yes

查看:77
本文介绍了使用密码的Mysql错误是的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

MySQL插件不起作用,在CentOS 6上检查。插件和MySQL设置没有被触及(即以root身份访问localhost而没有密码),但是使用密码是时出现错误。为什么这样?

MySQL Plugin does not work, checked on CentOS 6. Plugin and MySQL settings are not touched (ie access to localhost as root and no password), but all the time there was an error with 'using password yes'. Why so?

推荐答案

使用--skip-grant-tables选项更改密码:
Change the password with --skip-grant-tables option:


mysqld - -skip-grant-tables

然后:
mysqld --skip-grant-tables
Then:


mysql -u root mysql
mysql -u root mysql


这篇关于使用密码的Mysql错误是的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆