标签:
Install Cmake
1. download cmake source code at http://www.cmake.org/files/v3.1/cmake-3.1.0.tar.gz
2. ./configure & make & make install
Build MySQL source code download at MySQL http://cdn.mysql.com/archives/mysql-5.7/mysql-5.7.4-m14.tar.gz
1. cmake -DCMAKE_INSTALL_PREFIX=/root/wyg/mysql/mysql-5.7.4-m14/install_dir -DMYSQL_DATADIR=/root/wyg/mysql/mysql-5.7.4-m14/install_dir/data -DEXTRA_CHARSETS=all -DDEFAULT_CHARSET=utf8 -DDEFAULT_COLLATION=utf8_general_ci -DMYSQL_TCP_PORT=3306 -DMYSQL_UNIX_ADDR=/root/wyg.mysql/mysql-5.7.4-m14/install_dir/mysql.sock -DWITH_INNOBASE_STORAGE_ENGINE=1
2. make
3 make install
标签:
原文地址:http://www.cnblogs.com/lihuibng/p/4198962.html