Created
March 6, 2018 08:05
-
-
Save anhducbkhn/c772f011292966596ad1f24a573caed6 to your computer and use it in GitHub Desktop.
Install MySQL 5.6 on CentOS 6.x
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1. Install the MySQL Community repository | |
wget http://repo.mysql.com/mysql-community-release-el6-5.noarch.rpm | |
rpm -Uvh mysql-community-release-el6-5.noarch.rpm | |
2. Installing MySQL 5.6 | |
yum -y install mysql mysql-server | |
3. Verify the correct packages were installed | |
rpm -qa | grep mysql | |
it should be: | |
mysql-community-release-el6-5.noarch | |
mysql-community-common-5.6.27-2.el6.x86_64 | |
mysql-community-client-5.6.27-2.el6.x86_64 | |
mysql-community-server-5.6.27-2.el6.x86_64 | |
mysql-community-libs-5.6.27-2.el6.x86_64 | |
mysql-community-libs-compat-5.6.27-2.el6.x86_64 | |
4.Start MySQL | |
chkconfig mysqld on | |
service mysqld start |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment