加入收藏 | 设为首页 | 会员中心 | 我要投稿 佛山站长网 (https://www.0757zz.com/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 站长学院 > MySql教程 > 正文

MySQL出现1005 - Can't create table 'zxct.#sql-1acc_a' (errno:

发布时间:2014-01-08 14:23:09 所属栏目:MySql教程 来源:站长网
导读:环境:NavicatforMysql8.2 + MySQL Sever 5.1 问题:创建外键出现105错误,如下图: 解决:删除引用表,重新创建 。 StackOverFlow上面对105错误的解释: If yo
环境:NavicatforMysql8.2 + MySQL Sever 5.1

问题:创建外键出现105错误,如下图:

解决:删除引用表,重新创建 。

StackOverFlow上面对105错误的解释:

If you re-create a table that was dropped, it must have a definitionthat conforms to the foreign key constraints referencing it. It must have theright column names and types, and it must have indexes on the referenced keys,as stated earlier. If these are not satisfied, MySQL returns error number 1005and refers to error 150 in the error message.

查看本栏目更多精彩内容:http://www.bianceng.cn/database/MySQL/

(编辑:佛山站长网)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    热点阅读