Created
November 16, 2015 08:56
-
-
Save bramcordie/75ca6021e78ffbe96fcf to your computer and use it in GitHub Desktop.
Install mysql on Ubuntu
This file contains hidden or 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
#!/bin/bash | |
# Install mysql with the root password set to correcthorsebatterystaple | |
sudo debconf-set-selections <<< 'mysql-server mysql-server/root_password password correcthorsebatterystaple' | |
sudo debconf-set-selections <<< 'mysql-server mysql-server/root_password_again password correcthorsebatterystaple' | |
sudo apt-get -y install mysql-server |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment