Skip to content

Instantly share code, notes, and snippets.

@jhsea3do
Last active May 24, 2017 03:10
Show Gist options
  • Save jhsea3do/99120a98f32aaf139f2fef6c223d9a07 to your computer and use it in GitHub Desktop.
Save jhsea3do/99120a98f32aaf139f2fef6c223d9a07 to your computer and use it in GitHub Desktop.
Centos6 MySQL Community 5.5.54
curl -o /etc/pki/rpm-gpg/RPM-GPG-KEY-mysql -s https://repo.mysql.com/RPM-GPG-KEY-mysql
echo "# Enable to use MySQL 5.5
[mysql56-community]
name=MySQL 5.5 Community Server
baseurl=https://repo.mysql.com/yum/mysql-5.5-community/el/6/\$basearch/
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-mysql" > mysql.repo
yum -c mysql.repo --showduplicates list mysql-community-server
yum -c mysql.repo -y install mysql-community-server-5.5.54-2.el6
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment