Commit 1b2fdd53 authored by daidekun's avatar daidekun

hack bugs

parent c899fc51
...@@ -49,10 +49,9 @@ function db_schema_sync() ...@@ -49,10 +49,9 @@ function db_schema_sync()
sh $work_dir/db_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 sh $work_dir/db_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" echo "Step 2: replace domain name in tables: $database $mysql_host $db_backup_sub_folders"
if [ "$re_replace_ip" = true ]; then if [ "$re_replace_ip" = true ]; then
sh $work_dir/database_replace_ip.sh $database $mysql_host $db_backup_sub_folders sh $work_dir/db_replace_ip.sh $database $mysql_host $db_backup_sub_folders
else else
echo "Step 2: skip replace_ip" echo "Step 2: skip replace_ip"
fi 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