mysql5.5.28编译参数

mysql编译参数

yum install -y cmake ncurses ncurses-devel bison

cmake -DCMAKE_INSTALL_PREFIX=/usr/local/webserver/mysql -DDEFAULT_CHARSET=utf8 -DDEFAULT_COLLATION=utf8_general_ci -DENABLED_LOCAL_INFILE=1 -DMYSQL_DATADIR=/usr/local/webserver/mysql/data -DMYSQL_UNIX_ADDR=/usr/local/webserver/mysql/logs -DWITH_INNOBASE_STORAGE_ENGINE=1 -DWITH_READLINE=1

详细参数连接,请参照官网说明: http://dev.mysql.com/doc/refman/5.5/en/source-configuration-options.html

你可能感兴趣的:(mysql安装,mysql5.5.28编译参数)