我们在我们的生产服务器中使用Mysql 5.1,并尝试运行alter query以将列的数据类型从tinytext更改为varchar(200)。在运行ALTER查询,我们看到了这个错误: -Mysql InnoDB错误代码#1025
#1025 - Error on rename of './msging/#sql-123b_ab7634' to './msging/outboxes' (errno: -1)
MySQL的论坛,表明这种错误可能是因为外键约束。但是我们的模式没有任何外键。 mysql错误日志显示了下面提到的错误。我们检查了错误语句中提到的链接,但找不到任何有用的东西。任何想法可能会出错?
InnoDB: Error: './msging/outboxes.ibd' is already in tablespace memory cache
111001 12:40:18 InnoDB: Error in table rename, cannot renamemsging
.#sql-123b_ab4828
tomsging
.outboxes
111001 12:40:18 InnoDB: Error: tablemsging
.outboxes
does not exist in the InnoDB internal
InnoDB: data dictionary though MySQL is trying to drop it.
InnoDB: Have you copied the .frm file of the table to the
InnoDB: MySQL database directory from another database?
InnoDB: You can look for further help from
InnoDB: http://dev.mysql.com/doc/refman/5.1/en/innodb-troubleshooting.html