sh $work_dir/gen_config.sh $source_db_host$source_db_user$source_db_pwd$target_db_host$target_db_user$target_db_pwd$database$config_file_name
echo"Step 2: sync schema: $database$mysql_host"
sh $work_dir/gen_config.sh $source_db_host$source_db_user$source_db_pwd$target_db_host$target_db_user$target_db_pwd$database$config_file_name$db_backup_sub_folders
echo"Step 2: replace domain name in tables: $database$mysql_host$db_backup_sub_folders"
if["$re_replace_ip"=true];then
sh $work_dir/database_replace_ip.sh $database$mysql_host$db_backup_sub_folders