From c1d4c43ddb7683c1b871a60bce9f86280d886920 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Bonhomme?= Date: Fri, 23 Aug 2019 09:10:09 +0200 Subject: [PATCH] wip --- vagrant/bootstrap.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/vagrant/bootstrap.sh b/vagrant/bootstrap.sh index 997f838..777c31c 100644 --- a/vagrant/bootstrap.sh +++ b/vagrant/bootstrap.sh @@ -101,13 +101,13 @@ a2enmod headers > /dev/null 2>&1 echo -e "\n--- Allowing Apache override to all ---\n" sudo sed -i "s/AllowOverride None/AllowOverride All/g" /etc/apache2/apache2.conf -echo -e "\n--- We want to see the PHP errors, turning them on ---\n" -sed -i "s/error_reporting = .*/error_reporting = E_ALL/" $PHP_INI -sed -i "s/display_errors = .*/display_errors = On/" $PHP_INI +#echo -e "\n--- We want to see the PHP errors, turning them on ---\n" +#sed -i "s/error_reporting = .*/error_reporting = E_ALL/" $PHP_INI +#sed -i "s/display_errors = .*/display_errors = On/" $PHP_INI echo -e "\n--- Setting up our MariaDB user for MONARC… ---\n" -mysql -u root -p$DBPASSWORD_ADMIN -e "CREATE USER '$DBUSER_MONARC'@'%' IDENTIFIED BY '$DBPASSWORD_MONARC';" -mysql -u root -p$DBPASSWORD_ADMIN -e "GRANT ALL PRIVILEGES ON * . * TO '$DBUSER_MONARC'@'%';" +mysql -u root -p$DBPASSWORD_ADMIN -e "CREATE USER '$DBUSER_MONARC'@'localhost' IDENTIFIED BY '$DBPASSWORD_MONARC';" +mysql -u root -p$DBPASSWORD_ADMIN -e "GRANT ALL PRIVILEGES ON * . * TO '$DBUSER_MONARC'@'localhost';" mysql -u root -p$DBPASSWORD_ADMIN -e "FLUSH PRIVILEGES;" echo -e "\n--- Installing composer… ---\n"