Commit f02349fe authored by 智勇's avatar 智勇

up

parent 5b379906
...@@ -26,7 +26,7 @@ echo "CREATE DATABASE IF NOT EXISTS \`${database_name}\` DEFAULT CHARSET utf8 CO ...@@ -26,7 +26,7 @@ echo "CREATE DATABASE IF NOT EXISTS \`${database_name}\` DEFAULT CHARSET utf8 CO
for entry in ./*.sql for entry in ./*.sql
do do
echo "mysql -h $mysql_host -uqa -pqatest $database_name < $entry" echo "mysql -h $mysql_host -P $target_db_port -uqa -pqatest $database_name < $entry"
mysql -h $mysql_host -P $target_db_port -uqa -pqatest $database_name < $entry mysql -h $mysql_host -P $target_db_port -uqa -pqatest $database_name < $entry
if [ $? != 0 ];then if [ $? != 0 ];then
echo "--- mysql -h $mysql_host -P $target_db_port -uqa -pqatest $database_name < $entry import error ---" echo "--- mysql -h $mysql_host -P $target_db_port -uqa -pqatest $database_name < $entry import error ---"
......
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