mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-04-24 21:57:45 +00:00
fixed import script
This commit is contained in:
parent
335a59204c
commit
b633126568
1 changed files with 5 additions and 1 deletions
|
@ -12,6 +12,10 @@ mysqladmin -h localhost -u $USER -p$PASS CREATE $DBNAME
|
||||||
|
|
||||||
ECHO Loading $DBNAME tables into the database
|
ECHO Loading $DBNAME tables into the database
|
||||||
cd $IMPORT_PATH
|
cd $IMPORT_PATH
|
||||||
FOR %%X IN (*.sql) DO ECHO Importing %%X & "c:\program files\mysql\mysql server 5.7\bin\mysql" $DBNAME -h localhost -u $USER -p$PASS < %%X
|
for X in *.sql;
|
||||||
|
do
|
||||||
|
echo Importing $X;
|
||||||
|
"C:\program files\mysql\mysql server 5.7\bin\mysql" $DBNAME -h localhost -u $USER -p$PASS < $X
|
||||||
|
done
|
||||||
|
|
||||||
ECHO Finished!
|
ECHO Finished!
|
Loading…
Add table
Reference in a new issue