Commit 35e9e5cb authored by QA-甘 盛聪's avatar QA-甘 盛聪

update

parent 9d954bbc
......@@ -27,10 +27,10 @@ echo `pwd`
for entry in ./*
do
echo "mysql -h $mysql_host -u qa -pqatest $database_name < $entry"
echo "mysql -h $mysql_host -uqa -pqatest $database_name < $entry"
mysql -h $mysql_host -uqa -pqatest $database_name < $entry
if [ $? != 0 ];then
echo "import error"
echo "mysql -h $mysql_host -uqa -pqatest $database_name < $entry import error"
exit -1
fi
done
......@@ -85,6 +85,7 @@ function db_schema_sync()
echo "Step 3: import basic data from backup file: $database $mysql_host $db_backup_sub_folders"
sh $work_dir/db_import.sh $database $target_db_host $db_backup_sub_folders $delete_business_data
if [ $? != 0 ];then
echo "db_import.sh error"
exit -1
fi
......
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