出至: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.
mysql foreign key ,使用 InnoDB engine。預設是 MYISAM
版主: stnet253
誰在線上
正在瀏覽這個版面的使用者:Semrush [Bot] 和 1 位訪客