MySQL套接字丢失

时间:2018-12-28 20:54:54

标签: mysql sockets vps

我购买了VPS服务器(Ubuntu操作系统)。我安装了mysql-server和phpmyadmin。它运作良好,但是现在当我尝试访问phpMyAdmin页面时,收到以下消息:

#2002 No such file or directory <br /> The server is not responding (or the local server's socket is not correctly configured).

在腻子中出现此错误:

ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock'

如何恢复丢失的套接字?

0 个答案:

没有答案