MySql设计器中的关系问题 [英] Relationship issue in the MySql designer
本文介绍了MySql设计器中的关系问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
通常,我对使用MySQL的PHPmyadmin设计器来创建参照完整性关系没有任何疑问.
Normally I have no issue with MySQL's PHPmyadmin designer to create referential integrity relations.
突然之间,我现在在浏览器窗口中获得99%的加载,并弹出一个php.
All of a sudden, I now get a 99% Loading in my browser window, and a popup php.
复制;
- 选择一个数据库.
- 选择设计师.
- 选择设置关系"
- 选择一个主键
- 选择一个与之对应的外键
- 批准确认
预期结果; (以及我通常得到的结果)
Expected results; (and what I usually get)
已建立关系. 连接两个键的线.
A relationship is setup. A line connecting two keys.
实际结果;
- 绿色标签正在加载99%"出现在右上角.
- 第二个窗口弹出
http://localhost/phpmyadmin/pmd_general.php?db=jobhunt&server=1&token=d8235.....
- 没有关系.
还有其他人得到这个吗?
Is anyone else getting this?
推荐答案
虽然我仍然不知道为什么接口决定中断,但是添加Forien Key可以正常工作.
While I still do not know why the interface decided to break but an add Forien Key works fine.
ALTER TABLE tableblah
add FOREIGN KEY FCK2-BLAH ([Foreign-Key column]) REFERENCES [primary key table]([primary key column]);
这篇关于MySql设计器中的关系问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文