我一直试图设置mysql和phpMyAdmin在过去的12个小时,没有任何成功。是的,经过几个小时的谷歌,我知道这是一个常见的问题,我已经阅读了类似的查询在计算器上,但仍然不能与解决方案.....无法启动phpMyAdmin。继续收到#2002套接字错误
我已经试过一切 - 从config.inc.php
文件改变
$cfg['Servers'][$i]['port']
到3306
,127.0.0.1
....
在config.inc.php
文件输入插座路径 - 既tmp/mysql.php
和/var/mysql/mysql.sock
。
我试图改变在my.cnf文件和php.ini中的套接字路径....但我不断收到同样的错误:
#2002 - No such file or directory
The server is not responding (or the local server's socket is not correctly configured).
我使用MySQL(5.1。 65),PhpMyAdmin(3.5.2.2)和PHP(5.3.8)。
发表您的'config.inc.php'代码.. –
双重检查的MySQL是否启动与否。 – tkr
可能与http://stackoverflow.com/questions/4219970/warning-mysql-connect-2002-no-such-file-or-directory-trying-to-connect-vi – Roberto14