updated Vagrand provision script
* removed leading spaces * changed from MySQL to MariaDB
This commit is contained in:
parent
0257f50ff7
commit
d8f9d8556d
1 changed files with 6 additions and 6 deletions
|
@ -48,9 +48,9 @@ sudo systemctl restart apache2
|
||||||
|
|
||||||
#Install mysql
|
#Install mysql
|
||||||
echo ">>> Installing Mysql"
|
echo ">>> Installing Mysql"
|
||||||
sudo debconf-set-selections <<< "mysql-server mysql-server/root_password password root"
|
sudo debconf-set-selections <<< "mariadb-server mariadb-server/root_password password root"
|
||||||
sudo debconf-set-selections <<< "mysql-server mysql-server/root_password_again password root"
|
sudo debconf-set-selections <<< "mariadb-server mariadb-server/root_password_again password root"
|
||||||
sudo apt-get install -qq mysql-server
|
sudo apt-get install -qq mariadb-server
|
||||||
# enable remote access
|
# enable remote access
|
||||||
# setting the mysql bind-address to allow connections from everywhere
|
# setting the mysql bind-address to allow connections from everywhere
|
||||||
sed -i "s/bind-address.*/bind-address = 0.0.0.0/" /etc/mysql/my.cnf
|
sed -i "s/bind-address.*/bind-address = 0.0.0.0/" /etc/mysql/my.cnf
|
||||||
|
|
Loading…
Reference in a new issue