PAN-7 Updated the loaddb.sh file
This commit is contained in:
@@ -1,8 +1,7 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
export MYSQL_PWD=secret
|
|
||||||
|
|
||||||
for sqlScript in $( find . -name "*.sql" -print | sort);
|
for sqlScript in $( find . -name "*.sql" -print | sort);
|
||||||
do
|
do
|
||||||
echo "**** $sqlScript ****"
|
echo "**** $sqlScript ****"
|
||||||
mysql --batch --quick --raw --line-numbers --force --user=panda < $sqlScript
|
mysql -u panda -psecret < $sqlScript
|
||||||
done
|
done
|
||||||
Reference in New Issue
Block a user