Currently I am facing a problem with mysql on Linux Centos. It was stopped abruptly.
So then I tried to start mysql with service mysqld start command, it is giving error –
Timeout error occurred trying to start MySQL Daemon.
I checked the logs with tail -10 /var/log/mysqld.log command, then it shows –
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
I am not understanding why this is happening. I am new to Linux and mysql.
Please guys help me to resolve this problem.
Thank you
type “df -h” to see how much space is left on /var/ mount point, could be that there’s no space left in /var/?