我在尝试使用不同的 MySQL 数据库引擎时遇到问题。 (我想从 MyISAM 改成 InnoDB)
/etc/my.cnf
[mysqld]
bind-address = 127.0.0.1
default-storage-engine=InnoDB
好像没有安装?如果是这样,我该如何安装 InnoDB?
mysql> show engines;
+------------+---------+-----------------------------------------------------------+--------------+------+------------+
| Engine | Support | Comment | Transactions | XA | Savepoints |
+------------+---------+-----------------------------------------------------------+--------------+------+------------+
| CSV | YES | CSV storage engine | NO | NO | NO |
| MRG_MYISAM | YES | Collection of identical MyISAM tables | NO | NO | NO |
| MEMORY | YES | Hash based, stored in memory, useful for temporary tables | NO | NO | NO |
| MyISAM | DEFAULT | Default engine as of MySQL 3.23 with great performance | NO | NO | NO |
+------------+---------+-----------------------------------------------------------+--------------+------+------------+
4 rows in set (0.00 sec)
我在 Mac OS 10.5 上使用 MySQL 5.1.35 版。
最佳答案
关于mysql - 使用不同的 MySQL 数据库引擎,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/3494747/