Added grant option to user

master
Thomas Brinkmann 4 years ago
parent 2fc7cdf717
commit 5e5c7d7015
  1. 3
      lamp-headless.sh

@ -69,7 +69,7 @@ install_Debian9(){
echo -e "\n\e[92mConfiguring MariaDB...\e[39m"
echo "CREATE USER '$DBUSER'@'localhost' IDENTIFIED BY '$DBPASS';
GRANT ALL PRIVILEGES ON nextcloud.* TO '$DBUSER'@'localhost';
GRANT ALL PRIVILEGES ON nextcloud.* TO '$DBUSER'@'localhost' WITH GRANT OPTION;
FLUSH PRIVILEGES;" > /home/LAMP.sql
mysql -u root < /home/LAMP.sql
@ -162,6 +162,7 @@ if [ "$VAR_A" = "x86_64" ]; then
elif [ $version -eq 16 ]; then
#Ubuntu 16
echo "Ubuntu $version"
fi

Loading…
Cancel
Save