diff options
-rwxr-xr-x | scripts/createdb.mysql | 10 | ||||
-rwxr-xr-x | scripts/createtables.mysql | 2 |
2 files changed, 6 insertions, 6 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; diff --git a/scripts/createtables.mysql b/scripts/createtables.mysql index 079b3bd..402f66b 100755 --- a/scripts/createtables.mysql +++ b/scripts/createtables.mysql @@ -8,7 +8,7 @@ -- Current Database: GiantDisc -- ---CREATE DATABASE /*!32312 IF NOT EXISTS*/ GiantDisc; +-- CREATE DATABASE /*!32312 IF NOT EXISTS*/ GiantDisc; USE GiantDisc; |