Dropping a column with a foreign key
问题 On my mysql DB with inno_db engine, I have a table with a foreign key. I want to drop the column (along with the foreign key and the associated index of course - i don't need the whole column!) Now, simply dropping it yields an error: General error: 1025 Error on rename of '.\road_dmy#sql-19d8_2be' to '.\road_dmy\contact' (errno: 150) It sounds like this is a known issue. http://bugs.mysql.com/bug.php?id=15317 But anyway, what should i do to drop this column? I'm very sure it's possible