Skip to content

Instantly share code, notes, and snippets.

@a-yasui
Created September 3, 2019 09:09
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 a-yasui/7132681272e101ac21ad53efb8ba977d to your computer and use it in GitHub Desktop.
Save a-yasui/7132681272e101ac21ad53efb8ba977d to your computer and use it in GitHub Desktop.
#!/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