In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-14 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >
Share
Shulou(Shulou.com)06/01 Report--
The following mainly brings you mysqlbinlog visual view sql statement simple operation, hope that mysqlbinlog visual view sql statement simple operation can bring you practical use, this is also my main purpose of editing this article. All right, don't talk too much nonsense, let's just read the following.
Direct mysqlbinlog export of the file, the execution of the sql part of the sql statement is displayed in base64 encoding format, can not be read normally.
Therefore, when generating sql records, we cannot generate them in the usual way. We need to add the corresponding parameters to display the sql statement.
-base64-output=decode-rows-v
For example
Mysqlbinlog-- base64-output=decode-rows-v-- start-date='2017-05-16 12 12 start-date='2017 00'-- stop-date='2017-05-31 16 16 purge 2020 stop-date='2017 / root/mysql-bin | gzip > mysql.sql.gz
For the above visualization of mysqlbinlog to view the simple operation of sql statements, we do not think it is very helpful. If you need to know more, please continue to follow our industry information. I'm sure you'll like it.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.