Commit 8537ecf7 authored by 智勇's avatar 智勇

workflow

parent 0146ead0
......@@ -15,8 +15,8 @@ echo "cd $sql_file_folder"
cd $sql_file_folder
if [ -n "$db_name" ];then
if [ -f $db_name.sql ];then
echo "mysql -h $mysql_host -P $target_db_port -uqa -pqatest < $db_name.sql"
mysql -h $mysql_host -P $target_db_port -uqa -pqatest < $db_name.sql
echo "mysql -h $mysql_host -P $target_db_port -uqa -pqatest $db_name < $db_name.sql"
mysql -h $mysql_host -P $target_db_port -uqa -pqatest $db_name < $db_name.sql
else
echo "have no $db_name.sql"
fi
......
This diff is collapsed.
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