安装mysql5 innodb存储引擎

今天把mysql5.0升级到5.1.30,发现配置的时候出错了。

我用--with-innodb安装innodb引擎
引用
configure: WARNING: unrecognized options: --with-innodb


看了下帮助./configure --help

结果没有--with-innodb选项了,原来要用--with-plugins安装

引用
--with-plugins=PLUGIN[[[,PLUGIN..]]]
                          Plugins to include in mysqld. ( default is: none)
                          Must be a configuration name or a comma separated
                          list of plugins.
                          Available configurations are: none max max-no-ndb
                          all.
                          Available plugins are: partition daemon_example
                          ftexample archive blackhole csv example federated
                          heap innobase myisam myisammrg ndbcluster
.


英语不好,只供参考,大概意思是
把插件安装到mysqld里。(默认值:none)
只能是配置名或者用逗号分隔插件名
有效的配置名:none max max-no-ndb all.
有效的插件名:partition daemon_example ftexample archive blackhole csv example federated heap innobase myisam myisammrg

好的,使用 --with-plugins=partition,blackhole,heap,innobase,myisam,ndbcluster 就没问题了。

你可能感兴趣的:(InnoDB)