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'
|
commandLine './loaddb.sh'
|
||||||
} else {
|
} else {
|
||||||
workingDir "./scripts/mysql"
|
workingDir "./scripts/mysql"
|
||||||
commandLine 'loaddb.bat'
|
commandLine=['cmd','/c','loaddb.bat']
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
SET MYSQL_PWD=secret
|
set mysql_pwd = secret
|
||||||
FOR /R %%s IN (.\*.sql) do (
|
FOR /R %%s IN (*.sql) do (
|
||||||
echo **** %%s ****
|
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