JavaShuo
栏目
标签
Navicat cannot add foreign key constraint或者添加外键后不显示
时间 2021-01-06
标签
数据库
栏目
MySQL
繁體版
原文
原文链接
首先我们要明确不能添加外键的原因有很多种,我遇到的也只是其中一种在这里分享出来。如果能帮到大家就再好不过了。 右键—>设计表。 检查你的数据库引擎是什么, 因为我建的表数据库默认引擎是MyISAM,所以我添加外键后并不会在外键栏里面显示我添加的外键。 那我们就要改为下图所示,然后再添加外键: 就可以成功了 如果你的还是报错不能添加外键,那么有可能还有其他原因。比如你的数据表里有数据,你可以
>>阅读原文<<
相关文章
1.
MySQL 不能添加外键:Cannot add foreign key constraint错误
2.
mysql中添加外键约束失败(cannot add foreign key constraint)
3.
mysql无法添加外键约束(cannot add foreign key constraint)
4.
【mysql】---Navicat --外键创建与cannot add foreign key constraint分析
5.
1215 - Cannot add foreign key constraint
6.
1215-Cannot add the foreign key constraint
7.
ERROR 1215: Cannot add foreign key constraint
8.
mysql添加外键失败:sql 1452 Cannot add or update a child row:a foreign key constraint fails
9.
MySql导入.sql文件时外键报错,a foreign key constraint fails,Cannot add foreign key constraint
10.
Mysql使用Navicat创建外键时报错cannot add foreign key constraint分析
更多相关文章...
•
MySQL外键约束(FOREIGN KEY)
-
MySQL教程
•
SQL FOREIGN KEY 约束
-
SQL 教程
•
SpringBoot中properties文件不能自动提示解决方法
•
IntelliJ IDEA中SpringBoot properties文件不能自动提示问题解决
相关标签/搜索
constraint
foreign
显示
添加
或者
外显
add
key
key+
navicat
MySQL
SQL
Redis教程
PHP 7 新特性
Docker教程
后端
初学者
0
分享到微博
分享到微信
分享到QQ
每日一句
每一个你不满意的现在,都有一个你没有努力的曾经。
最新文章
1.
《给初学者的Windows Vista的补遗手册》之074
2.
CentoOS7.5下编译suricata-5.0.3及简单使用
3.
快速搭建网站
4.
使用u^2net打造属于自己的remove-the-background
5.
3.1.7 spark体系之分布式计算-scala编程-scala中模式匹配match
6.
小Demo大知识-通过控制Button移动来学习Android坐标
7.
maya检查和删除多重面
8.
Java大数据:大数据开发必须掌握的四种数据库
9.
强烈推荐几款IDEA插件,12款小白神器
10.
数字孪生体技术白皮书 附下载地址
本站公众号
欢迎关注本站公众号,获取更多信息
相关文章
1.
MySQL 不能添加外键:Cannot add foreign key constraint错误
2.
mysql中添加外键约束失败(cannot add foreign key constraint)
3.
mysql无法添加外键约束(cannot add foreign key constraint)
4.
【mysql】---Navicat --外键创建与cannot add foreign key constraint分析
5.
1215 - Cannot add foreign key constraint
6.
1215-Cannot add the foreign key constraint
7.
ERROR 1215: Cannot add foreign key constraint
8.
mysql添加外键失败:sql 1452 Cannot add or update a child row:a foreign key constraint fails
9.
MySql导入.sql文件时外键报错,a foreign key constraint fails,Cannot add foreign key constraint
10.
Mysql使用Navicat创建外键时报错cannot add foreign key constraint分析
>>更多相关文章<<