posts - 1,  comments - 3,  trackbacks - 0
According to the default settings, you can not create a foreign key in mysql5.0. Because it requires you to change the type of table to "innoDB". Otherwise you will get this error:

the innoDB feature is disable...

In the Documentation of mysql, it comments that in mysql4.2,5.0 etc you must enable "innoDB" when creating FK. Just modify my.ini in C:\WINDOWS, find this line "skip-innodb" and change it to "#skip-innodb".

posted on 2008-03-08 10:00 Carl 阅读(158) 评论(0)  编辑  收藏 所属分类: Mysql

只有注册用户登录后才能发表评论。


网站导航:
 
<2024年11月>
272829303112
3456789
10111213141516
17181920212223
24252627282930
1234567

常用链接

留言簿(1)

随笔档案

文章分类

文章档案

搜索

  •  

最新评论