1 Answer
- Newest
- Most votes
- Most comments
2
After messing around and researching all possible options, I managed to solve the error by disabling and enabling foreign key checks.
For those that may encounter this error in the future, I noticed that it was due to foreign keys after opening the database error logs and finding the following lines:
InnoDB: Load table xxxx.xxxx failed, the table has missing foreign key indexes. Turn off 'foreign_key_checks' and try again.
InnoDB: Cannot open table xxxx/xxxx from the internal data dictionary of InnoDB though the .frm file for the table exists. Please refer to http://dev.mysql.com/doc/refman/5.7/en/innodb-troubleshooting.html for how to resolve the issue.
Raúl
Edited by: misu on Jun 18, 2021 4:24 AM
Edited by: misu on Jun 18, 2021 4:25 AM
answered 5 years ago
Relevant content
- asked 3 years ago
