目前我在 Linux Centos 上遇到了 mysql 的问题。它突然停止了。所以然后我尝试使用service mysqld start命令启动 mysql,它给出了错误 -
尝试启动 MySQL 守护程序时发生超时错误。
我用tail -10 /var/log/mysqld.log命令检查了日志,然后它显示 -
120714 6:48:02 InnoDB: Initializing buffer pool, size = 8.0M
120714 6:48:02 InnoDB: Completed initialization of buffer pool
120714 6:48:02 InnoDB: Started; log sequence number 0 2096665
120714 6:48:02 [ERROR] /usr/libexec/mysqld: Error writing file '/var/run/mysqld/mysqld.pid' (Errcode: 28)
120714 6:48:02 [ERROR] Can't start server: can't create PID file: No space left on device
120714 06:48:02 mysqld_safe Number of processes running now: 0
120714 06:48:02 mysqld_safe mysqld restarted
120714 6:48:03 [Note] Plugin 'ndbcluster' is disabled.
120714 6:48:03 InnoDB: Initializing buffer pool, size = 8.0M
120714 6:48:03 InnoDB: Completed initialization of b-bash-4.1
我不明白为什么会这样。我是 Linux 和 mysql 的新手。请大家帮我解决这个问题。谢谢