1
Fork 0
mirror of https://bitbucket.org/Ioncannon/project-meteor-server.git synced 2025-04-25 06:07:46 +00:00

fixed import script

This commit is contained in:
Tahir Akhlaq 2016-06-15 00:04:15 +01:00
parent 335a59204c
commit b633126568

View file

@ -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!