# cmake .
-DCMAKE_INSTALL_PREFIX=/data/apps/mysql-5.5
-DMYSQL_DATADIR=/data/apps/mysql-5.5/var
-DSYSCONFDIR=/data/apps/mysql-5.5/etc
-DDEFAULT_CHARSET=utf8
-DDEFAULT_COLLATION=utf8_general_ci
-DMYSQL_TCP_PORT=3307
-DMYSQL_UNIX_ADDR=/data/apps/mysql-5.5/tmp/mysql.sock
-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
-DWITH_FEDERATED_STORAGE_ENGINE=1
-DWITH_DEBUG=0
# make
# make install
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/20695384/viewspace-732922/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/20695384/viewspace-732922/