Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
#!/usr/bin/env bash
echo '[INFO] Start Update And Install MySQL5.7';
sudo yum update -y;
sudo rpm -ivh https://dev.mysql.com/get/mysql80-community-release-el7-3.noarch.rpm;
sudo yum-config-manager --disable mysql80-community;
sudo yum-config-manager --enable mysql57-community
yum repolist enabled | grep mysql
sudo yum install -y mysql-community-server
echo "[INFO] install done"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment