Percona Server Not Starting

mysql is barfing about a PID that doesn’t exist when trying to start. no pid file in /var/run or in /var/lib/mysql… any suggestions?

[root@host mysql]# /etc/init.d/mysql start
Starting MySQL (Percona Server).The server quit without upd[FAILED]D file (/var/lib/mysql/host.domain.pid).

[root@host mysql]# /etc/init.d/mysql status
MySQL (Percona Server) is not running, but lock file (/var/[FAILED]sys/mysql) exists

[root@host mysql]# tail -f /var/log/mysqld.log
/usr/sbin/mysqld: Can’t change dir to ‘/var/lib/mysql/’ (Errcode: 13)
110921 1:39:00 [ERROR] Aborting

110921 1:39:00 [Note] /usr/sbin/mysqld: Shutdown complete

110921 01:39:00 mysqld_safe mysqld from pid file /var/lib/mysql/host.domain.pid ended


The “perror” command is your friend when you see an error code.

$ perror 13
OS error code 13: Permission denied