CentOS进不了mysql

在tty1里输入命令:“mysql -uroot -p+密码” 可以正常进入mysql,但在tty2里就不行了,

提示:Error 1045(28000): Access denied for user 'root'@'localhost' (using password: Yes).

如何解决这个问题?

跪求指教,还望会的大侠不吝赐教,小弟在此先谢过了.

PS : 小弟用的系统是CentOS 6.6 标准版.

posted @ 2016-07-13 23:21  jefflee168  阅读(898)  评论(1编辑  收藏  举报