Commit 0ea8b13f authored by daidekun's avatar daidekun

hack bugs

parent 12b7016b
......@@ -22,7 +22,7 @@ fi
source_db_host="$1"
source_db_user=$2
source_db_pwd=$3
source_db_pwd='Uiwb@o^fR&nHOa5t'
target_db_host="$4"
target_db_user=$5
......@@ -56,7 +56,7 @@ function db_schema_sync()
echo "Step 2: skip replace_ip"
fi
echo "Step 3: import basic data from backup file: $database $mysql_host $db_backup_sub_folders"
echo "Step 3: import basic data from backup file: $database $mysql_host $target_db_user $target_db_pwd $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"
......
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