From 4fbc9680385b7a6859ae16139491970b2e4d6e2d Mon Sep 17 00:00:00 2001 From: Conan_Doyl Date: Thu, 10 Sep 2020 18:52:06 +0200 Subject: [PATCH] Database permissions fixed. --- lamp-headless.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lamp-headless.sh b/lamp-headless.sh index cf4c6e4..6e4135f 100644 --- a/lamp-headless.sh +++ b/lamp-headless.sh @@ -77,7 +77,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' WITH GRANT OPTION; + GRANT ALL PRIVILEGES ON *.* TO '$DBUSER'@'localhost' WITH GRANT OPTION; FLUSH PRIVILEGES;" > /home/LAMP.sql mysql -u root < /home/LAMP.sql