码迷,mamicode.com
首页 > 数据库 > 详细

Build MySQL 5.7.4 in RedHat

时间:2015-01-02 23:38:49      阅读:191      评论:0      收藏:0      [点我收藏+]

标签:

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

 

Build MySQL 5.7.4 in RedHat

标签:

原文地址:http://www.cnblogs.com/lihuibng/p/4198962.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!