Commit 12cfb4c0 authored by daidekun's avatar daidekun

fix

parent 1d41569c
...@@ -18,5 +18,5 @@ for entry in ./* ...@@ -18,5 +18,5 @@ for entry in ./*
do do
echo "run sql file: $entry" echo "run sql file: $entry"
database=$(echo $entry | cut -f 1 -d '.') database=$(echo $entry | cut -f 1 -d '.')
mysql -uroot -pQuantgroup2017 $database < $entry mysql -uroot -pQuantgroup2017 --database=$database < $entry
done done
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment