PAN-7 fixed the loaddb.bat file for Windows
This commit is contained in:
@@ -48,6 +48,6 @@ task loadDb(type: Exec, group: 'Verification', description: 'Reloads the local d
|
||||
commandLine './loaddb.sh'
|
||||
} else {
|
||||
workingDir "./scripts/mysql"
|
||||
commandLine 'loaddb.bat'
|
||||
commandLine=['cmd','/c','loaddb.bat']
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
SET MYSQL_PWD=secret
|
||||
FOR /R %%s IN (.\*.sql) do (
|
||||
set mysql_pwd = secret
|
||||
FOR /R %%s IN (*.sql) do (
|
||||
echo **** %%s ****
|
||||
echo mysql --batch --quick --raw --line-numbers --force --user=panda < %%s
|
||||
mysql -u panda -psecret < %%s
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user