mysql - 运行应用程序时出错
mysql 显示错误
OperationalError: (1025, "Error on rename of './CMMS/#sql-c40_20a' to './CMMS/member' (errno: 150)")
如何解决?
提前致谢
mysql diplay an error
OperationalError: (1025, "Error on rename of './CMMS/#sql-c40_20a' to './CMMS/member' (errno: 150)")
How to solve it??
Thanks in Advance
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
该错误是从底层数据库冒出的错误。此错误表明您无法重命名该表,因为该表上存在一些外键限制。您应该检查数据库日志以获取更多信息。对于可能的解决方案,您可以尝试先删除外键,然后移动/删除/重命名表。
This error is an error bubbling up from the underlying database. This error indicates that you cannot rename the table because of some foreign key restrictions on that table. You should check your database logs for more information. For a possible solution you could try to remove the foreign keys first, then move/drop/rename your table.