aboutsummaryrefslogtreecommitdiff
path: root/dbinit/makefile
diff options
context:
space:
mode:
Diffstat (limited to 'dbinit/makefile')
-rw-r--r--dbinit/makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/dbinit/makefile b/dbinit/makefile
index 9e5d5d4..76f867f 100644
--- a/dbinit/makefile
+++ b/dbinit/makefile
@@ -33,7 +33,8 @@ data.sql:
# grant all database permissions (development only)
permissions:
- echo "grant all privileges on formula1.* to '$(USER)'@'$(HOST)';"
+ echo "grant all privileges on formula1.* to '$(USER)'@'$(HOST)';" | sudo $(SQL)
+ echo "grant file on *.* to '$(USER)'@'$(HOST)';" | sudo $(SQL)
# delete generated sql files
clean: