Systemctl hangs trying to start MySQL on Fedora

Posted by Cerin on Server Fault See other posts from Server Fault or by Cerin
Published on 2013-10-29T19:59:50Z Indexed on 2013/10/29 21:59 UTC
Read the original article Hit count: 295

Filed under:
|

When I try to start Mysql on Fedora via systemctl start mysqld.service, it hangs indefinitely and never starts. Running mysqld_safe --skip-grant-tables & or mysqld_safe --nowatch --basedir=/usr starts the server just fine, indicating the database is still there, but using service or systemctl doesn't work at all. Nothing is shown in /var/log/mysqld.log. However, `/var/log/messages shows thousands of messages like:

Oct 29 15:55:52 myserver systemd[1]: mysqld.service holdoff time over, scheduling restart.
Oct 29 15:55:52 myserver systemd[1]: Job pending for unit, delaying automatic restart.

How do I diagnose what's wrong and get MySQL to start?

© Server Fault or respective owner

Related posts about mysql

Related posts about fedora