Commit 241e9a60 authored by 智勇's avatar 智勇

up

parent ecc7ad3e
This diff is collapsed.
...@@ -118,7 +118,8 @@ function run_sql_file() ...@@ -118,7 +118,8 @@ function run_sql_file()
sh $work_dir/db_execute_sql.sh $target_db_host $sync_db_name $target_db_port sh $work_dir/db_execute_sql.sh $target_db_host $sync_db_name $target_db_port
} }
database_list=`grep database_list $work_dir/config/db_config | cut -d "=" -f 2` # database_list=`grep database_list $work_dir/config/db_config | cut -d "=" -f 2`
database_list=`curl http://192.168.4.3:10088/config_server/get_db_config/all/name`
if [[ "$sync_db_name" = "all" ]];then if [[ "$sync_db_name" = "all" ]];then
echo "sync all database schema" echo "sync all database schema"
......
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