mysql error 1813

http://www.bkjia.com/Mysql/887072.html


Finally found the solution as follows:

1. Close all mysql operations and stop the mysql service.

2. Find the database file in the installation directory, it should be in the data folder in your installation directory, and then open the folder with your corresponding database name. Find the file corresponding to that table, as well as the damaged file, and delete it together.

The file names in the database should be in one-to-one correspondence with your table names, one table, two files, one data file, and one log file. In addition to this, there is also a "db.opt" file that should not be deleted. Other garbled files, and the original file you made a mistake are all deleted.

3. After finishing, restart the mysql service, and re-add the table with the same name to add it successfully.

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326530139&siteId=291194637