diff options
-rw-r--r-- | README | 4 | ||||
-rwxr-xr-x | scripts/make-empty-db | 4 |
2 files changed, 4 insertions, 4 deletions
@@ -122,10 +122,10 @@ Execute these commands on a single line, the \ for the linebreak ist just for pr echo "use GiantDisc; load data local infile 'languages.txt' into table language;" | \ mysql -u root --local-infile=1 - echo "use GiantDisc; load data local infile 'musictypes.txt' into table language;" | \ + echo "use GiantDisc; load data local infile 'musictypes.txt' into table musictype;" | \ mysql -u root --local-infile=1 - echo "use GiantDisc; load data local infile 'sources.txt' into table language;" | \ + echo "use GiantDisc; load data local infile 'sources.txt' into table source;" | \ mysql -u root --local-infile=1 \endverbatim diff --git a/scripts/make-empty-db b/scripts/make-empty-db index 3acb512..92ccf75 100755 --- a/scripts/make-empty-db +++ b/scripts/make-empty-db @@ -13,7 +13,7 @@ echo "reading languages" echo "use GiantDisc; load data local infile 'languages.txt' into table language;" | mysql -u root --local-infile=1 echo "reading musictypes" -echo "use GiantDisc; load data local infile 'musictypes.txt' into table language;" | mysql -u root --local-infile=1 +echo "use GiantDisc; load data local infile 'musictypes.txt' into table musictype;" | mysql -u root --local-infile=1 echo "reading sources" -echo "use GiantDisc; load data local infile 'sources.txt' into table language;" | mysql -u root --local-infile=1 +echo "use GiantDisc; load data local infile 'sources.txt' into table source;" | mysql -u root --local-infile=1 |