Questions? Feedback? powered by Olark live chat software
Knowledgebase
Author Avatar

MySQL Server Fails To Start

Written by: on 31 May 2016 04:37 PM 31 May 2016 04:37 PM

Check the error log to see why the MySQL server does not start. Visit us to solve the problems.

If MySQL won't start, sometimes this can occur due to corruption in tables or in logs.

The first thing to try would be a MySQL repair, to do this:

1. Login to SSH as root

2. Type: mysqlcheck --all-databases --auto-repair

The second thing to try if that doesn't work or if MySQL isn't starting at all, try renaming the innoDB log files:

1. Login to SSH as root

2. Locate and rename or move the ib_logfilex file in the MySQL data directory (usually /var/lib/mysql)

3. Try starting MySQL now

(0 vote(s))
Helpful
Not helpful