Linux under Compilation install MySQL (Percona Server) 5.6

Source: Internet
Author: User
Tags percona percona server

System environment:

    • CentOS 6.5/7.0 x86_64
    • Fedora x86_64
Brief introduction

Percona server is a derived version of MySQL, focusing on improvements to MySQL database server under Linux/bsd, with a significant improvement in functionality and performance compared to MySQL.

The compilation, configuration, and use of Percona Server is exactly the same as MySQL, and you can use it as MySQL.

Download Percona Server Source Package

Cd/usr/local/srcwget https://www.percona.com/downloads/Percona-Server-5.6/Percona-Server-5.6.25-73.1/source/ Tarball/percona-server-5.6.25-73.1.tar.gz

Installation Dependencies

Yum install gcc-c++ make CMake bison bison-devel ncurses-devel libaio-devel perl



An additional Perl-data-dumper package is required for Fedora 20 and CentOS 7:

Yum Install  Perl-data-dumper



Create a MySQL user

Groupadd mysqluseradd-g mysql-s/sbin/nologin-m MySQL



Create log directory and SOCK directory and Change permissions

Mkdir-p/data/mysql



Linux under Compilation install MySQL (Percona Server) 5.6

Related Article

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.