mysql5.6 and MARIADB remote pull binary logs

Source: Internet
Author: User

Support remote pull binary log from mysql5.6

Mysqlbinlog--raw--stop-never--result-file=/tmp/log/--read-from-remote-server-h 192.168.10.17-p 3306-u liuwei-p123 456 mysql-bin.000475

Option Description:

-H--host: IP address of the remote host

-P--port: Port of the remote host

-U--user: User of remote database

-P--password: Password for remote database user

--raw: Pull the binary log to the disk as a record

--stop-never: Non-disruptive replication of binary logs to local

--result-file: The binary log that is pulled is in the local location, and must end with a '/' at the end of the directory.

-R--read-from-remote-server: Plus this option means getting logs from a remote host

mysql-bin.000475: Which binary log from the remote host starts to pull, this file must exist, or it will be an error

This article is from the "burning Years of Passion" blog, please be sure to keep this source http://liuzhengwei521.blog.51cto.com/4855442/1882182

mysql5.6 and MARIADB remote pull binary logs

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.