From 2370a13b7f6512147550e5eec8a773e69d49119b Mon Sep 17 00:00:00 2001 From: lvw Date: Fri, 28 May 2004 15:30:48 +0000 Subject: Merged and added import scripts git-svn-id: https://vdr-muggle.svn.sourceforge.net/svnroot/vdr-muggle/trunk/muggle-plugin@99 e10066b5-e1e2-0310-b819-94efdf66514b --- scripts/createdb.mysql | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100755 scripts/createdb.mysql (limited to 'scripts/createdb.mysql') diff --git a/scripts/createdb.mysql b/scripts/createdb.mysql new file mode 100755 index 0000000..8b9ea42 --- /dev/null +++ b/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; + -- cgit v1.2.3 From 27a9843da016ffb5d2d36f03b3ae20776528989b Mon Sep 17 00:00:00 2001 From: lvw Date: Sun, 29 Aug 2004 14:07:53 +0000 Subject: Cleaned up input helper scripts git-svn-id: https://vdr-muggle.svn.sourceforge.net/svnroot/vdr-muggle/trunk/muggle-plugin@126 e10066b5-e1e2-0310-b819-94efdf66514b --- scripts/createdb.mysql | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'scripts/createdb.mysql') diff --git a/scripts/createdb.mysql b/scripts/createdb.mysql index 8b9ea42..b68d90c 100755 --- a/scripts/createdb.mysql +++ b/scripts/createdb.mysql @@ -4,7 +4,6 @@ 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; +grant all privileges on GiantDisc.* to vdr@'%'; +grant all privileges on GiantDisc.* to vdr@localhost; -- cgit v1.2.3 From 068ea169c5d357d192b35c3544f4f9e90be96b29 Mon Sep 17 00:00:00 2001 From: lvw Date: Sun, 29 Aug 2004 14:39:33 +0000 Subject: Import running in basic version git-svn-id: https://vdr-muggle.svn.sourceforge.net/svnroot/vdr-muggle/trunk/muggle-plugin@127 e10066b5-e1e2-0310-b819-94efdf66514b --- scripts/createdb.mysql | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'scripts/createdb.mysql') 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; -- cgit v1.2.3 From 0fe155eaff5361997c03243e263131da203f691c Mon Sep 17 00:00:00 2001 From: lvw Date: Thu, 28 Oct 2004 09:57:42 +0000 Subject: Avoid multiline comments as they seem to cause trouble git-svn-id: https://vdr-muggle.svn.sourceforge.net/svnroot/vdr-muggle/trunk/muggle-plugin@259 e10066b5-e1e2-0310-b819-94efdf66514b --- scripts/createdb.mysql | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'scripts/createdb.mysql') 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; -- cgit v1.2.3 From 0756ae40d68d403082c86adef042a4c0daba219f Mon Sep 17 00:00:00 2001 From: LarsAC Date: Fri, 7 Jan 2005 18:43:03 +0000 Subject: Merged branch osd_extensions back to main trunk git-svn-id: https://vdr-muggle.svn.sourceforge.net/svnroot/vdr-muggle/trunk/muggle-plugin@324 e10066b5-e1e2-0310-b819-94efdf66514b --- scripts/createdb.mysql | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'scripts/createdb.mysql') diff --git a/scripts/createdb.mysql b/scripts/createdb.mysql index 68c12d7..7ccdc89 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; -- cgit v1.2.3