In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-09-25 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >
Share
Shulou(Shulou.com)05/31 Report--
How to compare the master-slave database in Mysql? I believe many inexperienced people don't know what to do about it. Therefore, this paper summarizes the causes and solutions of the problem. Through this article, I hope you can solve this problem.
From the library configuration:
Report-host=192.168.3.70
Report-port = 3306
Master library comparison: specify slave library
Pt-table-checksum-user=root-password=123456-host=192.168.3.70-databases=drama
Diffs cannot be detected because no slaves were found. Please read the-- recursion-method documentation for information.
TS ERRORS DIFFS ROWS CHUNKS SKIPPED TIME TABLE
03-18T10:56:16 00 28 10 0.008 drama.app_user
03-18T10:56:16 00 0 10 0.005 drama.joblock
03-18T10:56:16 00 0 10 0.004 drama.role
03-18T10:56:16 00 0 10 0.003 drama.stepsettle
03-18T10:56:16 00 343 10 0.007 drama.supplierinfo
03-18T10:56:16 00 0 10 0.004 drama.user_role
03-18T10:56:16 00 0 10 0.004 drama.webmodule
03-18T10:56:16 00 0 10 0.004 drama.webmodule_role
DIFFS: it stands for inconsistency. Consensus is 0.
Or
On the primary library, specify the primary library (--host=192.168.3.22)
Pt-table-checksum-user=root-password=qC0QKFiX-host=172.28.3.22-databases=drama-no-check-binlog-format
After reading the above, have you mastered the method of comparing master-slave databases in Mysql? If you want to learn more skills or want to know more about it, you are welcome to follow the industry information channel, thank you for reading!
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.
The market share of Chrome browser on the desktop has exceeded 70%, and users are complaining about
The world's first 2nm mobile chip: Samsung Exynos 2600 is ready for mass production.According to a r
A US federal judge has ruled that Google can keep its Chrome browser, but it will be prohibited from
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
About us Contact us Product review car news thenatureplanet
More Form oMedia: AutoTimes. Bestcoffee. SL News. Jarebook. Coffee Hunters. Sundaily. Modezone. NNB. Coffee. Game News. FrontStreet. GGAMEN
© 2024 shulou.com SLNews company. All rights reserved.