What is MySQL Errno: 145
One day all of a sudden I was getting a MySQL ErrNo: 145 on one of my blogs. To correct the problem all you need to do is the following:
- Log into your mysql database either through the command prompt, or if you are using it on a hosting package, just find the database admin tool that your provider has for you. Typically it will be PHPMyAdmin.
- From the command prompt, or if you are using PHPMYAdmin go to the SQL tab and run the following command: REPAIR TABLE yourtablename.
- You will probably see a couple of messages indicating the problems that the repair fixed.
One you have repaired the table, go ahead and try to access the database table again. This should clear up Errno: 145.