ALTER TABLE error
        Posted  
        
            by Travis
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by Travis
        
        
        
        Published on 2010-05-27T12:14:19Z
        Indexed on 
            2010/05/27
            12:31 UTC
        
        
        Read the original article
        Hit count: 364
        
Can someone explain to me why I am receiving the following error?
I want to rename the column "exerciseID" to "ID" in a mysql table using the following syntax.
ALTER TABLE  `exercises` CHANGE  `exerciseID`  `ID` INT( 11 ) NOT NULL AUTO_INCREMENT
However I receive the following error:
MySQL said: 
#1025 - Error on rename of './balance/#sql-de_110e' to './balance/exercises' (errno: 150)
Any suggestions would be much appreciated
© Stack Overflow or respective owner