mysql5.7 Compiling and installing

Source: Internet
Author: User

To download the compilation package:

Intranet Address:

wget 192.168.101.66/pack/mysql-5.7.14.tar.gz

Extranet Address:

wget http://mirrors.sohu.com/mysql/MySQL-5.7/mysql-5.7.14.tar.gz

Extract:

Tar zxvf mysql-5.7.14.tar.gz

Go to the Compilation folder:

CD mysql-5.7.14

CMake Compile: (Compile time prompts need boost, add the following parameters to download Boots package automatically)

-ddownload_boost=1-dwith_boost=/home/app/boots/
Cmake-dcmake_install_prefix=/home/app/mysql-ddefault_charset=utf8-ddefault_collation=utf8_unicode_ci-dmysql_ Datadir=/home/app/mysql/data-dwith_innobase_storage_engine=1-denabled_local_infile=1-dsysconfdir=/etc-dwith_ Readline=on-ddownload_boost=1-dwith_boost=/home/app/boots/make Install

mysql5.7 Compiling and installing

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.