SOLVED- MySQL – start: Job failed to start

Some time when you upgrade mysql you may notice this error “start: Job failed to start”, in my case I have big databases on my vps server and causes this problem most often. The problem is that the files ‘/var/lib/mysql/ib_logfile0’ and ‘/var/lib/mysql/ib_logfile1’ are bigger in size than mysql is expecting.
The solution is very simple just remove them :

     rm /var/lib/mysql/ib_logfile*

And the restart mysql without any error like :

     sudo service apache2 start

Leave a Reply

Your email address will not be published. Required fields are marked *