MySQL5.7.13 Source Installation Guide

Source: Internet
Author: User

1, install the dependency package (CMake make gcc, in fact, many have, do not need to update, in order to prevent the world is destroyed, installed)

Yum install gcc gcc-c++-y
Yum Install-y ncurses-devel.x86_64
Yum Install-y cmake.x86_64
Yum Install-y libaio.x86_64
Yum Install-y bison.x86_64
Yum Install-y gcc-c++.x86_64

2. Install Boost library 1.59 (listen to the master said, can only be this version, did not try other, lazy is the nature of the landlord, so the rookie follow the order to go)

wget http://nchc.dl.sourceforge.net/project/boost/boost/1.59.0/boost_1_59_0.tar.gz tar zxvf  boost_1_59_0.  Tarmv boost_1_59_0/usr/local/boost

3. Add user groups and users MySQL (again referring to the commands of various gods)

groupadd MySQL           -G MySQL MySQL     

4. Download the installation mysql5.7.13 (may need fq when downloading?) always open agent landlord do not know whether the need to FQ ... Then there is the need for root authority, which is certainly OK)

wgetHttp://dev.mysql.com/get/Downloads/MySQL-5.7/mysql-5.7.13.tar.gz

TarZXVF mysql-5.7. -.Tar. GZCD MySQL-5.7. -CMake-dcmake_install_prefix=/home/mysql-dmysql_datadir=/home/mysql/data-ddefault_charset=utf8-ddefault_collation= utf8_general_ci-dmysql_tcp_port=3306-dmysql_user=mysql-dwith_myisam_storage_engine=1-dwith_innobase_storage_engine=1-dwith_archive_storage_engine=1-dwith_blackhole_storage_engine=1-dwith_memory_storage_engine=1-ddownload_boost=1-dwith_boost=/usr/local/Boost Make&& Make Install

5.

MySQL5.7.13 Source Installation Guide

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.