mirror of
https://github.com/SapphireServer/Sapphire.git
synced 2025-05-01 08:27:46 +00:00
Merge pull request #198 from reiichi001/master
Fixed import.bat to include password on import loop and update.sql imort
This commit is contained in:
commit
5a83a82f36
1 changed files with 2 additions and 2 deletions
|
@ -32,13 +32,13 @@ FOR %%X IN (*.sql) DO (
|
|||
REM handle update.sql last
|
||||
) ELSE (
|
||||
ECHO Importing %%X
|
||||
%PATH_MYSQL% %DBNAME% -h %DBADDRESS% -u %USER% < %%X
|
||||
%PATH_MYSQL% %DBNAME% -h %DBADDRESS% -u %USER% %PASSWORD% < %%X
|
||||
)
|
||||
)
|
||||
|
||||
IF EXIST "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!
|
||||
|
|
Loading…
Add table
Reference in a new issue