1025

ER_ERROR_ON_RENAME


#define ER_ERROR_ON_RENAME 1025

Got this when I was attempted to alter an existing table that had foreign keys. Apparently when you alter a table - it creates a new temporary table and does a quick swap of the existing table for the new one. But if the existing table has dependencies - it wont work.

Leave a Reply

*
To prove you're a person (not a spam script), type the security word shown in the picture. Click on the picture to hear an audio file of the word.
Click to hear an audio file of the anti-spam word