Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anhducbkhn/c772f011292966596ad1f24a573caed6 to your computer and use it in GitHub Desktop.
Save anhducbkhn/c772f011292966596ad1f24a573caed6 to your computer and use it in GitHub Desktop.
Install MySQL 5.6 on CentOS 6.x
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