Build MySQL 5.7.4 in RedHat
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
郑重声明:本站内容如果来自互联网及其他传播媒体,其版权均属原媒体及文章作者所有。转载目的在于传递更多信息及用于网络分享,并不代表本站赞同其观点和对其真实性负责,也不构成任何其他建议。