This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo wget -O /tmp/mysql.deb https://dev.mysql.com/get/mysql-apt-config_0.8.12-1_all.deb | |
echo mysql-apt-config mysql-apt-config/select-server select mysql-5.7 | sudo debconf-set-selections | |
export DB_ROOT_PASSWORD=mypassword | |
echo mysql-community-server mysql-community-server/root-pass password $DB_ROOT_PASSWORD | sudo debconf-set-selections | |
echo mysql-community-server mysql-community-server/re-root-pass password $DB_ROOT_PASSWORD | sudo debconf-set-selections | |
sudo DEBIAN_FRONTEND=noninteractive dpkg -i /tmp/mysql.deb | |
sudo apt-get update | |
sudo apt-get -y install mysql-server mysql-client |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment