Skip to content

Instantly share code, notes, and snippets.

@rtorres90
Created June 21, 2017 12:16
Show Gist options
  • Save rtorres90/03d89f7e1814d3d4e53946f5d85ff34f to your computer and use it in GitHub Desktop.
Save rtorres90/03d89f7e1814d3d4e53946f5d85ff34f to your computer and use it in GitHub Desktop.
# Intalling mysql
sudo debconf-set-selections <<< 'mysql-server mysql-server/root_password password dev_env'
sudo debconf-set-selections <<< 'mysql-server mysql-server/root_password_again password dev_env'
sudo apt-get -y install mysql-server
mysql -uroot -pdev_env -e "create database dev"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment