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