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".
| |||||||||
日 | 一 | 二 | 三 | 四 | 五 | 六 | |||
---|---|---|---|---|---|---|---|---|---|
25 | 26 | 27 | 28 | 29 | 30 | 31 | |||
1 | 2 | 3 | 4 | 5 | 6 | 7 | |||
8 | 9 | 10 | 11 | 12 | 13 | 14 | |||
15 | 16 | 17 | 18 | 19 | 20 | 21 | |||
22 | 23 | 24 | 25 | 26 | 27 | 28 | |||
29 | 30 | 1 | 2 | 3 | 4 | 5 |
常用鏈接
留言簿(1)
隨筆檔案
文章分類
文章檔案
搜索
最新評論

- 1.?re: Fix the Error in Firefox: XML解析錯誤;未組織好 and in IE:無法顯示 XML 頁[未登錄]
- Thanks!! it works!:D
- --YY
- 2.?re: Fix the Error in Firefox: XML解析錯誤;未組織好 and in IE:無法顯示 XML 頁
- thanks
- --dongping0903
- 3.?re: Fix Hibernate ERROR: hibernate Transaction not successfully started
- 評論內容較長,點擊標題查看
- --calven