tags:

views:

11

answers:

1

I am trying ti change the type in two tables of an innodb. The problem is that the values are a key and a foreign key. When I try to make the change I get the error #1025 error on rename

Do I need to drop the foreign keys and then make the changes and then reapply the foreign key?

A: 

Yeah, you have to drop the foreign key. Try SHOW INNODB STATUS to see if there's a more elaborated explanation of what's going on.

racetrack