錯誤日誌出現 Cannot find or open table phpwind/pw_zhuanti from the internal data dictionary of InnoDB though the .frm file for the table exists,表明 InnoDB 內部資料字典與檔案系統不一致:表已刪除但 .frm 殘留。
.ibd/.frm 檔案,而非 DROP TABLE;.frm 至其他資料庫目錄;.frm;find /var/lib/mysql -name "pw_zhuanti.frm"mysql> SHOW TABLES FROM phpwind LIKE 'pw_zhuanti'; → Empty set.frm:rm /var/lib/mysql/phpwind/pw_zhuanti.frmservice mysqld restartDROP TABLE/RENAME TABLE;ALTER TABLE ... IMPORT TABLESPACE 官方流程;information_schema.tables 與檔案系統一致性。