summaryrefslogtreecommitdiffstats
path: root/tosca2heat/tosca-parser-0.3.0/toscaparser/tests/artifacts/mysql/mysql_dbms_install.sh
blob: 38628b98e68613d70c0c5f12d27ff29240d6f706 (plain)
1
2
3
4
5
6
7
8
9
#!/bin/bash
#This script installs mysql server

apt-get update

debconf-set-selections <<< "mysql-server mysql-server/root_password password $db_root_password"
debconf-set-selections <<< "mysql-server mysql-server/root_password_again password $db_root_password"

apt-get -y install --fix-missing mysql-server