install mysql non-interactive mode
NON-INTERACTIVE INSTALL ON DEBIAN/UBUNTU
Note: no password will be set for MySQL. Thus to secure the installation, one should be set afterwards.export DEBIAN_FRONTEND=noninteractive apt-get update apt-get install -y mysql-server