im trying to delete a foreign key with the following syntax (5.0.45-community-nt):
alter table [table] drop foreign key [fk_name]
but I’m getting the following error:
The table '#sql-5f8_9c' is full – 99543 ms
any ideas?
thanks!
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
ALTER TABLEoften requires creating a copy of the entire table, so you need enough space on your filesystem to store two copies of the data concurrently as it does this table restructure.It may seem odd that it needs to make a copy of the table since you’re just dropping a constraint. In more recent versions of MySQL, some
ALTER TABLEoperations have been optimized so they don’t require a table restructure. But you’re using a version of MySQL from July 2007!See also:
The table is full
InnoDB ‘The Table is Full’ error