winxp 下,mysql5.0mysql> show engines;
+------------+----------+----------------------------------------------------------------+
| Engine | Support | Comment |
+------------+----------+----------------------------------------------------------------+
| MyISAM | DEFAULT | Default engine as of MySQL 3.23 with great performance |
| MEMORY | YES | Hash based, stored in memory, useful for temporary tables |
| InnoDB | DISABLED | Supports transactions, row-level locking, and foreign keys |
| BerkeleyDB | NO | Supports transactions and page-level locking |
| BLACKHOLE | YES | /dev/null storage engine (anything you write to it disappears) |
| EXAMPLE | NO | Example storage engine |
| ARCHIVE | YES | Archive storage engine |
| CSV | NO | CSV storage engine |
| ndbcluster | NO | Clustered, fault-tolerant, memory-based tables |
| FEDERATED | DISABLED | Federated MySQL storage engine |
| MRG_MYISAM | YES | Collection of identical MyISAM tables |
| ISAM | NO | Obsolete storage engine |
+------------+----------+----------------------------------------------------------------+这里InnoDB是DISABLED 的,怎么配置让他支持呢?这里我已经放开注释了:
# Uncomment the following if you are using InnoDB tables
+------------+----------+----------------------------------------------------------------+
| Engine | Support | Comment |
+------------+----------+----------------------------------------------------------------+
| MyISAM | DEFAULT | Default engine as of MySQL 3.23 with great performance |
| MEMORY | YES | Hash based, stored in memory, useful for temporary tables |
| InnoDB | DISABLED | Supports transactions, row-level locking, and foreign keys |
| BerkeleyDB | NO | Supports transactions and page-level locking |
| BLACKHOLE | YES | /dev/null storage engine (anything you write to it disappears) |
| EXAMPLE | NO | Example storage engine |
| ARCHIVE | YES | Archive storage engine |
| CSV | NO | CSV storage engine |
| ndbcluster | NO | Clustered, fault-tolerant, memory-based tables |
| FEDERATED | DISABLED | Federated MySQL storage engine |
| MRG_MYISAM | YES | Collection of identical MyISAM tables |
| ISAM | NO | Obsolete storage engine |
+------------+----------+----------------------------------------------------------------+这里InnoDB是DISABLED 的,怎么配置让他支持呢?这里我已经放开注释了:
# Uncomment the following if you are using InnoDB tables
解决方案 »
- mysql数据库中记录如何对比删除
- mysql 查询两个字段(意义不同) 为同一表同一字段 如何处理
- 一个表中有type ,numberData两个字段, type存的是类别,numberData,存的是正数,负数和0,我现在查出 numberData里>=0
- 切换用户出错!
- mysql多条件排序 怎么写 谢谢
- phpMyAdmin导出bit类型数据出错
- 建立索引问题 ?
- 关于innodb的问题,大家帮帮忙
- 在Mysql中居然字符 林=丽,为什么呢?请问哪位大侠也遇过?
- 你一定得进来看看,帮兄弟一把亚!
- mysql语句优化问题 大家给优化个SQL语句
- 请问MYSQL有没有不输出query结果只输出query执行时间的方法?
# Use this option if you have a MySQL server with InnoDB support enabled
# but you do not plan to use it. This will save memory and disk space
# and speed up some things.
#skip-innodb
找到方法是:安装的时候就选transaction的方式.把配置文件里面的
# Uncomment the following if you are using InnoDB tables 这里注释放开