MySQL Server Not Starting on Boot

Posted by Brian on Server Fault See other posts from Server Fault or by Brian
Published on 2010-03-19T15:03:34Z Indexed on 2010/03/19 15:11 UTC
Read the original article Hit count: 255

Filed under:
|

I have installed MySQL on a RHEL 5 server and I'm wanting to set it up so that the server starts on boot. I've ran the "chkconfig --list mysqld" command and it's currently running on levels 3, 4 and 5. However, when I reboot the server, no mysqld process is started. I've also tried manually starting the server by executing "/usr/bin/mysqld_safe" and I get the following output:

Starting mysqld daemon with databases from /var/lib/mysql STOPPING server from pid file /var/run/mysqld/mysqld.pid 100319 10:31:30 mysqld ended

I looked in /var/log/mysqld.log and I found the following:

100319 10:29:01 mysqld started 100319 10:29:02 InnoDB: Started; log sequence number 0 29752204 100319 10:29:02 [ERROR] Can't start server : Bind on unix socket: Permission denied 100319 10:29:02 [ERROR] Do you already have another mysqld server running on socket: /var/lib/mysql/mysql.sock ? 100319 10:29:02 [ERROR] Aborting

© Server Fault or respective owner

Related posts about mysql

Related posts about rhel5