mysql> SELECT VERSION();
+-----------+
| VERSION() |
+-----------+
| 5.6.11 |
+-----------+
1 row
in
set
(0.00 sec)
mysql> SHOW ENGINES;
+--------------------+---------+----------------------------------------------------------------+--------------+------+------------+
| Engine | Support | Comment | Transactions | XA | Savepoints |
+--------------------+---------+----------------------------------------------------------------+--------------+------+------------+
| MyISAM | YES | MyISAM storage engine | NO | NO | NO |
| CSV | YES | CSV storage engine | NO | NO | NO |
| MRG_MYISAM | YES | Collection of identical MyISAM tables | NO | NO | NO |
| BLACKHOLE | YES |
/dev/null
storage engine (anything you write to it disappears) | NO | NO | NO |
| MEMORY | YES | Hash based, stored
in
memory, useful
for
temporary tables | NO | NO | NO |
| InnoDB | DEFAULT | Supports transactions, row-level locking, and foreign keys | YES | YES | YES |
| ARCHIVE | YES | Archive storage engine | NO | NO | NO |
| FEDERATED | NO | Federated MySQL storage engine | NULL | NULL | NULL |
| PERFORMANCE_SCHEMA | YES | Performance Schema | NO | NO | NO |
+--------------------+---------+----------------------------------------------------------------+--------------+------+------------+
9 rows
in
set
(0.00 sec)
mysql> CREATE TABLE t1 (
id
int) ENGINE=FEDERATED;
ERROR 1286 (42000): Unknown storage engine
'FEDERATED'
mysql> CREATE TABLE t2 (
id
int) ENGINE=clovem;
ERROR 1286 (42000): Unknown storage engine
'clovem'
mysql> CREATE TABLE t3 (
id
int) ENGINE=CSV;
ERROR 1178 (42000): The storage engine
for
the table doesn't support nullable columns
mysql> CREATE TABLE t3 (
id
int) ENGINE=MyISAM;
Query OK, 0 rows affected (0.03 sec)
mysql> SHOW TABLES;
+----------------+
| Tables_in_test |
+----------------+
| t3 |
+----------------+
1 row
in
set
(0.00 sec)