mysql创建外键关联 自己的代码总提示“ERROR 1005: Can't create table (errno: 150)”
http://eternal1025.iteye.com/blog/425311
- 为了建立两个MySQL表之间的一个外键关系,必须满足以下三种情况:
- * 两个表必须是InnoDB表类型。
- * 使用在外键关系的域必须为索引型(Index)。
- * 使用在外键关系的域必须与数据类型相似。
http://eternal1025.iteye.com/blog/425311
暂无评论。
评论功能维护中,当前仅展示历史评论。