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 阅读(161) 评论(0)  编辑  收藏 所属分类: Mysql

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


网站导航:
 
<2025年1月>
2930311234
567891011
12131415161718
19202122232425
2627282930311
2345678

常用链接

留言簿(1)

随笔档案

文章分类

文章档案

搜索

  •  

最新评论