|
|
@ -77,7 +77,7 @@ install_Debian9(){ |
|
|
|
|
|
|
|
|
|
|
|
echo -e "\n\e[92mConfiguring MariaDB...\e[39m" |
|
|
|
echo -e "\n\e[92mConfiguring MariaDB...\e[39m" |
|
|
|
echo "CREATE USER '$DBUSER'@'localhost' IDENTIFIED BY '$DBPASS'; |
|
|
|
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 |
|
|
|
FLUSH PRIVILEGES;" > /home/LAMP.sql |
|
|
|
|
|
|
|
|
|
|
|
mysql -u root < /home/LAMP.sql |
|
|
|
mysql -u root < /home/LAMP.sql |
|
|
|