wp_wc_category_lookup table corrupted – how regenerate?
-
Hi
The wp_wc_category_lookup table has been corrupting for some time on my local staging server, even if replaced from an older backup. “Got error 194 “Tablespace is missing for a table” from storage engine InnoDB”.
Now, if I stop the mariadb server and remove the corresponding .frm and .idb files from the site directory in the mysql database folder, Woocommerce is supposed to rebuild any of its missing default tables when de- and activating again, but it does not. Neither do any of its tools.
The strange thing is, that even if I stop the local mariadb server, copy the corresponding and healthy .frm and .idb files from the live server, replace the corrupt files, and restart again, a table check with mariadb-check -c will report the same corrupt error for that table.
Hence, is there a way to manually rebuild the wp_wc_category_lookup table, or to force Woocommerce to recreate?
- You must be logged in to reply to this topic.