Commit f8682ed8 authored by 智勇's avatar 智勇

update

parent ba58014c
...@@ -3,7 +3,6 @@ source_db_user=$2 ...@@ -3,7 +3,6 @@ source_db_user=$2
source_db_pwd='Uiwb@o^fR&nHOa5t' source_db_pwd='Uiwb@o^fR&nHOa5t'
ip_value=$4 ip_value=$4
if valid_ip $ip_value; then target_db_host="$ip_value"; else target_db_host="192.168.4.$ip_value"; fi
target_db_user=$5 target_db_user=$5
target_db_pwd=$6 target_db_pwd=$6
...@@ -35,6 +34,7 @@ function db_schema_sync() ...@@ -35,6 +34,7 @@ function db_schema_sync()
} }
database_list='cash_loan_flow contract dujiangyan financial_system financial_system_api fund_manage gyxd mall merchant notify offline payment_center qinqiong quartz redpacket risk_control silk_road spider_center user_credit xyqb xyqb_app xyqb_btzt xyqb_user' database_list='cash_loan_flow contract dujiangyan financial_system financial_system_api fund_manage gyxd mall merchant notify offline payment_center qinqiong quartz redpacket risk_control silk_road spider_center user_credit xyqb xyqb_app xyqb_btzt xyqb_user'
echo "database_list:${database_list}"
for db_name in $database_list for db_name in $database_list
do do
......
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