diff options
Diffstat (limited to 'scripts/createdb.mysql')
-rwxr-xr-x | scripts/createdb.mysql | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/scripts/createdb.mysql b/scripts/createdb.mysql index 7ccdc89..68c12d7 100755 --- a/scripts/createdb.mysql +++ b/scripts/createdb.mysql @@ -1,14 +1,14 @@ -/* Creates DB and opens it to any user */ -/* Run this mysql macro as root! */ +-- Creates DB and opens it to any user +-- Run this mysql macro as root! DROP DATABASE IF EXISTS GiantDisc; CREATE DATABASE GiantDisc; use GiantDisc; -/* The first line is useful for granting access to user vdr on all computers in a network. */ -/* 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 access to user vdr on the local machine grant all privileges on GiantDisc.* to vdr@localhost; |