Commit 9c9e1edc authored by 智勇's avatar 智勇

dropsql

parent 46aa20fe
...@@ -28,7 +28,8 @@ else ...@@ -28,7 +28,8 @@ else
done done
fi fi
dropSQL=`curl -s -m 5 http://192.168.28.179:3003/dbsync/getDropSQL?dbName=${db_name}` dropSQL=`curl -s -m 5 http://qaapi.liangkebang.com/dbsync/getDropSQL?dbName=${db_name}`
echo "dropSQL: ${dropSQL}" echo "dropSQL: ${dropSQL}"
echo "mysql -h $mysql_host -P $target_db_port -uqa -pqatest $db_name -e ${dropSQL}"
mysql -h $mysql_host -P $target_db_port -uqa -pqatest $db_name -e "${dropSQL}" mysql -h $mysql_host -P $target_db_port -uqa -pqatest $db_name -e "${dropSQL}"
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