Mysql – Failed to read auto-increment value from storage engine, Error Number: 1467

MySQL

When inserting data in mysql i get this error:

Error Number: 1467
Failed to read auto-increment value from storage engine

I don't now how to solve this issue please any help will be appreciated.

Best Answer

After some searching i found the answer and it solved my problem.

run this sql query it will fix the problem

 ALTER TABLE `YOUR_TABLE`  AUTO_INCREMENT =1
Related Topic