mysql foreign key ,使用 InnoDB engine。預設是 MYISAM

版主: stnet253

回覆文章
tony
文章: 585
註冊時間: 2012-02-26, 07:04
聯繫:

mysql foreign key ,使用 InnoDB engine。預設是 MYISAM

未閱讀文章 tony »

出至:http://dev.mysql.com/doc/refman/5.5/en/ ... tting.html

14.1. Setting the Storage Engine
When you create a new table, you can specify which storage engine to use by adding an ENGINE table option to the CREATE TABLE statement:

CREATE TABLE t (i INT) ENGINE = INNODB;

If you omit the ENGINE option, the default storage engine is used. The default engine is InnoDB as of MySQL 5.5.5 (MyISAM before 5.5.5). You can specify the default engine by using the –default-storage-engine server startup option, or by setting the default-storage-engine option in the my.cnf configuration file.
回覆文章

誰在線上

正在瀏覽這個版面的使用者:沒有註冊會員 和 1 位訪客