summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/createdb.mysql7
1 files changed, 6 insertions, 1 deletions
diff --git a/scripts/createdb.mysql b/scripts/createdb.mysql
index b68d90c..7ccdc89 100755
--- a/scripts/createdb.mysql
+++ b/scripts/createdb.mysql
@@ -3,7 +3,12 @@
DROP DATABASE IF EXISTS GiantDisc;
CREATE DATABASE GiantDisc;
+
use GiantDisc;
-grant all privileges on GiantDisc.* to vdr@'%';
+
+/* The first line is useful for granting access to user vdr on all computers in a network. */
+/* grant all privileges on GiantDisc.* to vdr@'%'; */
+
+/* Grant access to user vdr on the local machine */
grant all privileges on GiantDisc.* to vdr@localhost;