我收到错误" mysqld死了,但是pid文件存在"
我在EC2上运行了一个acache webclient。使用WordPress。我开始在Databse Connection"中看到"错误
当我做一个sudo服务mysqld状态我看到错误" mysqld死但pid文件存在"
看起来我有足够的空间
[root@ip-10-0-0-149 log]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/xvda1 7.8G 1.5G 6.3G 19% /
devtmpfs 486M 56K 486M 1% /dev
tmpfs 499M 0 499M 0% /dev/shm
当我做尾巴时,我得到了
InnoDB: Restoring possible half-written data pages from the doublewrite
InnoDB: buffer...
140717 21:04:58 InnoDB: Waiting for the background threads to start
140717 21:04:59 InnoDB: 5.5.38 started; log sequence number 6150055
140717 21:04:59 [Note] Server hostname (bind-address): '0.0.0.0'; port: 3306
140717 21:04:59 [Note] - '0.0.0.0' resolves to '0.0.0.0';
140717 21:04:59 [Note] Server socket created on IP: '0.0.0.0'.
140717 21:04:59 [Note] Event Scheduler: Loaded 0 events
140717 21:04:59 [Note] /usr/libexec/mysqld: ready for connections.
Version: '5.5.38' socket: '/var/lib/mysql/mysql.sock' port: 3306 MySQL Community Server (GPL)
请帮助!
答案 0 :(得分:6)
在我的情况下,我做了这个,我的问题解决了。
cd /var/run/mysqld
rm -f mysqld.pid