Timeout error occurred trying to start MySQL Daemon. CentOS 5

Posted by epema on Stack Overflow See other posts from Stack Overflow or by epema
Published on 2012-01-11T20:18:12Z Indexed on 2012/11/21 23:00 UTC
Read the original article Hit count: 291

Filed under:
|
|

I ran into troubles with MySQL on my CentOS. I had some problems and backed up my database and removed mysql with all dependencies. After that I ran reinstalled:

 yum groupinstall "MySQL Database"

Installed without errors.

Running the mysql daemon:

service mysqld start

Timeout error occurred trying to start MySQL Daemon.
Starting MySQL:                                            [FAILED]

I also ran

# /usr/bin/mysql_install_db --user=mysql
Installing MySQL system tables...
120112  1:49:44 [ERROR] Error message file '/usr/share/mysql/english/errmsg.sys'  had only 480 error messages,
but it should contain at least 481 error messages.
Check that the above file is the right version for this program!
120112  1:49:44 [ERROR] Aborting

Installation of system tables failed!

Examine the logs in /var/lib/mysql for more information.
You can try to start the mysqld daemon with:
/usr/libexec/mysqld --skip-grant &
and use the command line tool
/usr/bin/mysql to connect to the mysql
database and look at the grant tables:

shell> /usr/bin/mysql -u root mysql
mysql> show tables

Try 'mysqld --help' if you have problems with paths. Using --log
gives you a log in /var/lib/mysql that may be helpful.

The latest information about MySQL is available on the web at
http://www.mysql.com
Please consult the MySQL manual section: 'Problems running mysql_install_db',
and the manual section that describes problems on your OS.
Another information source is the MySQL email archive.
Please check all of the above before mailing us!
And if you do mail us, you MUST use the /usr/bin/mysqlbug script!

Checking the logs:

less /var/log/mysqld.log

Log file is empty. I don't even know how to debug it and not sure what to do.

Any recommendations?

Thank you

© Stack Overflow or respective owner

Related posts about mysql

Related posts about timeout