Skip to content

Instantly share code, notes, and snippets.

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;
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