diff options
Diffstat (limited to 'scripts/make-tables')
-rwxr-xr-x | scripts/make-tables | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/scripts/make-tables b/scripts/make-tables new file mode 100755 index 0000000..1dc9c01 --- /dev/null +++ b/scripts/make-tables @@ -0,0 +1,26 @@ +#!/bin/sh + +################################################## +# +# GiantDisc mp3 Jukebox +# +# © 2000-2002, Rolf Brugger +# +################################################## + +cd /home/andi/muggle/import + +echo "creating tables" +mysql < createtables.mysql + +echo "reading genres" +mysql --local-infile=1 < readgenres.mysql + +echo "reading languages" +mysql --local-infile=1 < readlanguages.mysql + +echo "reading musictypes" +mysql --local-infile=1 < readmusictypes.mysql + +echo "reading sources" +mysql --local-infile=1 < readsources.mysql |