我们正在运行一个搭载有 Debian 8.2 发行版的 Digitalocean 服务器。
直到昨晚为止,它一直运行良好。
service --status-all
甚至没有列出mysql
或mysqld
which mysql
给我以下路径:
/usr/local/bin/mysql
mysqladmin -u root -p status
出现以下错误:
mysqladmin: connect to server at 'localhost' failed error: 'Can't connect to local MySQL server through socket '/usr/local/mysql/data/mysql.sock' (111)' Check that mysqld is running and that the socket: '/usr/local/mysql/data/mysql.sock' exists!
确实/usr/local/mysql/data/mysql.sock
存在!
问题开始时的Mysql错误日志:
http://pastebin.com/DJtusxCc