Cannot find or open table phpwind/pw_zhuanti from the internal data dictionary of InnoDB though the .frm file for the table exists. Maybe you have deleted and recreated InnoDB data files but have forgotten to delete the corresponding .frm files of InnoDB tables, or you have moved .frm files to another database?
表已被刪除 (或 InnoDB 系統表空間重建),但數據目錄下殘留 .frm 結構文件,InnoDB 內部數據字典找不到對應表對象,啟動/查詢時拋錯。
datadir 參數,如 /var/lib/mysql/phpwind/)rm -f pw_zhuanti.frmFLUSH TABLES,錯誤消失DROP TABLE 而非手動刪文件.frm.frm,數據字典集中存儲於 mysql.ibd,此類問題不再發生