Home > Backend Development > PHP Tutorial > 句,mysql 建立外键 是不是主表和子表都需要是INNODB类型

句,mysql 建立外键 是不是主表和子表都需要是INNODB类型

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-06-13 13:27:46
Original
773 people have browsed it

弱弱的问句,mysql 建立外键 是不是主表和子表都需要是INNODB类型
如题。。。

------解决方案--------------------
很多时候,我们用myisam 引擎, 能够联合查询就可以了,强制性外键约束,通常由业务程序来处理,数据库这一层就放松了。
------解决方案--------------------
好像是的。看手册:http://dev.mysql.com/doc/refman/5.1/zh/tutorial.html#example-foreign-keys

Related labels:
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Latest Issues
MySQL stops process
From 1970-01-01 08:00:00
0
0
0
Error when installing mysql on linux
From 1970-01-01 08:00:00
0
0
0
phpstudy cannot start mysql?
From 1970-01-01 08:00:00
0
0
0
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template