diff --git a/install_mysql.sh b/install_mysql.sh index 68252b2048b710fb7877f040cd8c5654454451b3..4b5964acb04713c625c76d129d8e64861acae857 100755 --- a/install_mysql.sh +++ b/install_mysql.sh @@ -98,12 +98,12 @@ function install_ubuntu_mysql () { echo "Installing MySQL..." # Install MariaDB. - sudo apt-get update > /dev/null 2>&1 - sudo apt-get install mysql-server mysql-client -y > /dev/null + sudo apt-get update + sudo apt-get install mysql-server mysql-client -y # Start MariaDB service and set to start on boot. - systemctl enable mysql.service > /dev/null - systemctl start mysql.service > /dev/null + systemctl enable mysql.service + systemctl start mysql.service # Proceed with initial configuration. mysql_secure_installation @@ -113,7 +113,7 @@ function install_ubuntu_mysql () { get_user_confirmation "Install programming dependencies? These are necessary for things like serving Django projects." if [[ ${return_value} == true ]] then - sudo apt-get install libmysqlclient-dev -y > /dev/null + sudo apt-get install libmysqlclient-dev -y fi }