Timeout error occurred trying to start MySQL Daemon.

I came across mysql error — “Timeout error occurred trying to start MySQL Daemon.”

Mysql will not restart —

[root@vps init.d]# ./mysqld restart
Stopping MySQL: [FAILED]
Timeout error occurred trying to start MySQL Daemon.
Starting MySQL: [FAILED]

Server Details :
Linux VPS — Plesk Installed.
Mysql Version : 4.1

——

Solution : Add this line in /etc/my.cnf

skip-innodb under socket=/var/lib/mysql/mysql.sock

vi /etc/my.cnf
——–

[mysqld]
datadir=/var/lib/mysql
socket=/var/lib/mysql/mysql.sock
skip-innodb
# Default to using old password format for compatibility with mysql 3.x
# clients (those using the mysqlclient10 compatibility package).
old_passwords=1
———

Thanks,
Sachin
ThinkSupport.net

Leave a Reply

You must be logged in to post a comment.