Mysqldump back up a table warning:a partial dump from a server, which has gtids would by default include the Gtids of all transactions ,

Source: Internet
Author: User

[Email protected] ok]# mysqldump-uemove-h xx.xx.xx.xx-p9906 DBname t_name-p >2t_tname.sql


Pass--set-gtid-purged=off. To make a complete dump, pass--all-databases--triggers--routines--events.
 [[email protected] desktop]# mysqldump--versionmysqldump Ver  10.13  distrib 5.6 . 34 , for   After Linux (x86_64) about GTID is 5.6, a global transaction ID (GTID) has been added to harden the database's primary and standby consistency, fault recovery, and fault tolerance. Official: A  global  transaction identifier (GTID) is   a unique identifier created and associated with each transaction committed on the server of Origin (master). So it may be because it is unique within a database, but it can be duplicated when importing other libraries. All will have a reminder. You can add --set -gtid-purged=off or –gtid-mode= off these two parameter settings. Personally, the Gtid is re-produced in the import library instead of the original. 
[Email protected] ok]# mysqldump-uusername-h xx.xx.xx.xx-p9996 DBname t_name--set-gtid-purged=off-p >t_n Ame.sql (table name)

Mysqldump back up a table warning:a partial dump from a server, which has gtids would by default include the Gtids of all transactions ,

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.