Phpmyadmin腐败了

时间:2016-07-28 16:42:57

标签: php mysql ubuntu phpmyadmin localhost

我正在尝试恢复phpmyadmin的root密码。我遵循网上发现的一些技巧,现在我有更深层次的问题。

我无法登录phpmyadmin。我收到以下错误:

\#2002 - Can't connect to local MySQL server through socket     '/var/run/mysqld/mysqld.sock' (2) 
The server is not responding (or the local server's socket is not correctly configured). 
Connection for controluser as defined in your configuration failed.

我运行以下命令来验证我的MySQL是否正在运行,

mysqladmin: connect to server at 'localhost' 

我收到以下消息:

failed error: 'Can't connect to local MySQL server through socket
'/var/run/mysqld/mysqld.sock' (2)' Check that mysqld is running and
that the socket: '/var/run/mysqld/mysqld.sock' exists!

我不知道下一步该做什么。

0 个答案:

没有答案