Records all operations (DML statements) of the MySQL database that actually make changes, not statements that do not have any data modified, and statements such as Select and show are not recorded.The role of the binary log:1, can complete the
The binlog of mysql database is garbled as follows: BINLOG 'logs + UpA. if-v
We found that the binlog of # wiki/1160.html "target =" _ blank "> mysql database is garbled, as shown below:
Mysqlbinlog parsing binlog garbled issue decryption
The binlog of mysql database is garbled as follows: Binlog'Ixzqvhniaaaalqaaagcbaaaaahoaaaaaeabhrlc3qaano0aaedaabuocnyIxzqvh5iaaaakaaaai8baaaaahoaaaaaeaagab // 4 BAAAAcu + UpA =. If you use-v to
/usr/local/mysql/bin/mysqlbinlog-vv/var/lib/bin/mysql-bin.000008 --base64-output=decode-rows - -start-pos=307Question: What exactly does this mean?[Email protected]
MySQL suppresses the binlog part in the BINLOG part, and mysql suppresses the binlog part.
MySQL uses binlog to record the entire data change process. Therefore, we only need MySQL binlog to completely restore the database. There are three different
1. Basic Information
Main Library:ip:10.16.24.107 port:3376Server-id = 1073377data_dir:/data/mysql/mysql3376/data/Base_dir:/usr/local/mysqlVersion: MySQL 5.6.29-logBinlog_format:row
From library:ip:10.16.24.108 port:3376Server-id =
MySQL incremental backup and Recovery experiment IntroductionIncremental recovery scenarios that are generally applicable:1, the human SQL statement destroys the database2. Loss of database data due to a system failure before the next full backup3,
For details about the event types in MySQL binlog, mysqlbinlog
All operations recorded by MySQL binlog actually have corresponding event types. For example, DML operations in STATEMENT format correspond to QUERY_EVENT types, while DML operations in
Parameter description:Reference website Address:Https://github.com/danfengcao/binlog2sqlDownload the package directly from the official website, according to the method on GitHub, although it can be installed successfully, but the execution of the
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.