summaryrefslogtreecommitdiff
path: root/muggle-plugin/scripts/createdb.mysql
diff options
context:
space:
mode:
authorlvw <lvw@e10066b5-e1e2-0310-b819-94efdf66514b>2004-05-28 15:30:48 +0000
committerlvw <lvw@e10066b5-e1e2-0310-b819-94efdf66514b>2004-05-28 15:30:48 +0000
commitb2fca0d7f5d0c09817bed4d3b1eae2107763944e (patch)
tree94d8c442d2fa0607a593639f3bea8dc53e1a3f9f /muggle-plugin/scripts/createdb.mysql
parentccb8abb73462a314a3bab3bdd3d22213325ed930 (diff)
downloadvdr-plugin-muggle-b2fca0d7f5d0c09817bed4d3b1eae2107763944e.tar.gz
vdr-plugin-muggle-b2fca0d7f5d0c09817bed4d3b1eae2107763944e.tar.bz2
Merged and added import scripts
git-svn-id: https://vdr-muggle.svn.sourceforge.net/svnroot/vdr-muggle/trunk@99 e10066b5-e1e2-0310-b819-94efdf66514b
Diffstat (limited to 'muggle-plugin/scripts/createdb.mysql')
-rwxr-xr-xmuggle-plugin/scripts/createdb.mysql10
1 files changed, 10 insertions, 0 deletions
diff --git a/muggle-plugin/scripts/createdb.mysql b/muggle-plugin/scripts/createdb.mysql
new file mode 100755
index 0000000..8b9ea42
--- /dev/null
+++ b/muggle-plugin/scripts/createdb.mysql
@@ -0,0 +1,10 @@
+/* Creates DB and opens it to any user */
+/* Run this mysql macro as root! */
+
+DROP DATABASE IF EXISTS GiantDisc;
+CREATE DATABASE GiantDisc;
+use GiantDisc;
+grant all privileges on GiantDisc.* to music@'%';
+grant all privileges on GiantDisc.* to music@localhost;
+grant all privileges on GiantDisc.* to apache@localhost with grant option;
+