1
我正在使用phpMyAdmin 3.3.10.3版來管理我的數據庫。試圖刪除包含外鍵的列並收到錯誤消息
我正在使用InnoDB和外鍵約束。
我試圖從表中刪除幾列。這些列是引用其他表的外鍵。
ALTER TABLE `product`
DROP `c_status_id`,
DROP `o_certification_id`,
DROP `g_free_certification_id`,
DROP `gm_certification_id`,
DROP `n_certification_id`;
在嘗試查詢時,我收到以下錯誤消息。
#1025 - Error on rename of ' /#sql-ea2_38d9f' to ' /product' (errno: 150
另外所以這種錯誤:SQLSTATE [HY000]:常規錯誤:1025(錯誤:150) - 不太描述性或容易谷歌。我在這裏發佈了更多錯誤文本:http://wp.me/p3XdjT-11 – PrplHaz4