mysql异常提示 最终问题数据库分区满

myql错误提示:

Can’t connect to local MySQL server through socket ‘/tmp/mysql.sock’ (2)

mysqli_real_connect(): (HY000/2002): Connection refused

The server quit without updating PID file

ERROR 2003 (HY000): Can’t connect to MySQL server on ‘127.0.0.1’ (111)

MySQL server PID file could not be found!

phpmyadmin 错误提示:

#2002 – No such file or directory — 服务器没有响应(或本地服务器的套接字没有正确设置)。

mysqli_real_connect(): (HY000/2002): No such file or directory

mysqli_real_connect(): (HY000/2002): Connection refused

网站错误提示:

数据库连接失败(Can not connect to MySQL server)

 

以上所有提示都有可能是服务器数据库所在分区满造成。需要仔细查看服务器空间大小。dt -T 查看所有分区占用情况