How to prevent "ibdata files do not match the log sequence number"?
I have faced the same problem: MySQL restarts too many times and ibdata files do not match the log sequence number.

This is happening because one of the tables is corrupted.
In order to fix this issue, take a backup of the database and perform the mysqlcheck operation:

1.

mysqldump -u root -p dbname &gt; /tmp/dbname.sql  


2.

mysqlcheck -u root -p dbname 


If you find the corrupted table then you can remove it, I know corrupted tables can't be deleted but we can restore the database from the corresponding production database.