Compare commits

..

No commits in common. "3e98d5f477fc95a49534ec346b4cc81472d80175" and "aade6fb2c7d6647befd8ece45f4cd8c64d70c8df" have entirely different histories.

View file

@ -7,7 +7,7 @@ if [[ -f ${init_file} ]]; then
master_command="${master_command}, MASTER_HOST='<%= @first_db %>', MASTER_USER='backup'"
master_command="${master_command}, MASTER_PASSWORD='<%= @backup_password%>', MASTER_SSL=1"
master_command="${master_command}, MASTER_CONNECT_RETRY=20"
zcat ${init_file} | ${mysql}
zcat ${init_file} | tail +2 | ${mysql}
${mysql} -e "${master_command}"
${mysql} -e "START SLAVE"
sleep 3s