mirror of
https://github.com/SapphireServer/Sapphire.git
synced 2025-04-29 07:37:45 +00:00
Fixed import.bat to include password on import loop and update.sql import.
This commit is contained in:
parent
9f7aefacc3
commit
e003c035c7
1 changed files with 2 additions and 2 deletions
|
@ -32,13 +32,13 @@ FOR %%X IN (*.sql) DO (
|
||||||
REM handle update.sql last
|
REM handle update.sql last
|
||||||
) ELSE (
|
) ELSE (
|
||||||
ECHO Importing %%X
|
ECHO Importing %%X
|
||||||
%PATH_MYSQL% %DBNAME% -h %DBADDRESS% -u %USER% < %%X
|
%PATH_MYSQL% %DBNAME% -h %DBADDRESS% -u %USER% %PASSWORD% < %%X
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|
||||||
IF EXIST "update.sql" (
|
IF EXIST "update.sql" (
|
||||||
ECHO Importing update.sql
|
ECHO Importing update.sql
|
||||||
%PATH_MYSQL% %DBNAME% -h %DBADDRESS% -u %USER% < update.sql
|
%PATH_MYSQL% %DBNAME% -h %DBADDRESS% -u %USER% %PASSWORD% < update.sql
|
||||||
)
|
)
|
||||||
|
|
||||||
ECHO Finished!
|
ECHO Finished!
|
||||||
|
|
Loading…
Add table
Reference in a new issue