[笔记] mysql5.6一些编译参数

cmake \
-DCMAKE_INSTALL_PREFIX=/usr/local/mysql \
-DSYSCONFDIR=/etc \

-DWITH_INNOBASE_STORAGE_ENGINE=1 \
-DWITH_ARCHIVE_STORAGE_ENGINE=1 \
-DWITH_BLACKHOLE_STORAGE_ENGINE=1 \
-DWITH_PERFSCHEMA_STORAGE_ENGINE=1 \
-DWITH_PARTITION_STORAGE_ENGINE=1 \

-DENABLED_LOCAL_INFILE=1 \
-DEXTRA_CHARSETS=all \
-DDEFAULT_CHARSET=utf8 \
-DDEFAULT_COLLATION=utf8_general_ci

MyISAM, MERGE, MEMORY, and CSV引擎默认情况下总是强制编译,不需要额外添加。

不需要手动添加WITH_READLINE参数,5.6.5版本之后不再捆绑readline。

[root@localhost mysql-5.6.20]#  cat INSTALL-SOURCE 

The MyISAM, MERGE, MEMORY, and CSV engines are mandatory (always compiled into the server) and need not be installed explicitly.

Manually-specified variables were not used by the project:
WITH_READLINE

Whether to use the readline library bundled with the distribution. This option was removed in MySQL 5.6.5 because readline is no longer bundled.

  

posted @ 2015-03-27 19:36  金枪语  阅读(679)  评论(0编辑  收藏  举报