Commit dc5643c9 authored by daidekun's avatar daidekun

1

parent 332e285c
...@@ -56,7 +56,10 @@ function db_schema_sync() ...@@ -56,7 +56,10 @@ function db_schema_sync()
echo "Step 2: skip replace_ip" echo "Step 2: skip replace_ip"
fi fi
echo "Step 3: sync schema: $database $mysql_host" echo "Step 3: import basic data from backup file: $database $mysql_host $db_backup_sub_folders"
sh $work_dir/db_import.sh $database $mysql_host $target_db_user $target_db_pwd $db_backup_sub_folders
echo "Step 4: sync schema: $database $mysql_host"
sync_cmd="mysql-schema-sync -conf ${config_file_name} -sync" sync_cmd="mysql-schema-sync -conf ${config_file_name} -sync"
echo "${sync_cmd}" echo "${sync_cmd}"
#$sync_cmd #$sync_cmd
......
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