From 917fbc387d87d99a09a24f86ee4c49aa8a7a2e71 Mon Sep 17 00:00:00 2001 From: Rick Falkvinge Date: Sat, 16 Feb 2019 13:55:42 +0100 Subject: [PATCH] Finalized RC-install script --- BuildFiles/Testing/scripts/rc-install.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/BuildFiles/Testing/scripts/rc-install.sh b/BuildFiles/Testing/scripts/rc-install.sh index 83d2d578..77c7ff64 100755 --- a/BuildFiles/Testing/scripts/rc-install.sh +++ b/BuildFiles/Testing/scripts/rc-install.sh @@ -62,7 +62,9 @@ if [ $ISDEBIAN -gt 0 ]; then echo " " echo "Step 3 - Configuring MariaDB for root@localhost login" echo " " - echo "TODO" + echo "GRANT ALL PRIVILEGES on *.* to 'root'@'localhost' IDENTIFIED BY 'sandbox';" > /tmp/mariadbroot.sql + echo "FLUSH PRIVILEGES;" >> /tmp/mariadbroot.sql + mysql -u root -psandbox < /tmp/mariadbroot.sql else echo " " echo "Step 3 - No configuration of MySQL required, skipped"