Skip to content

Conversation

hoffoo
Copy link
Contributor

@hoffoo hoffoo commented Sep 14, 2017

This is required if needing to increase the default max_packet_size for mysqldump, otherwise I see

mysqldump: Error 2020: Got packet bigger than 'max_allowed_packet' bytes when dumping table

Thanks!

canal/config.go Outdated
SkipMasterData bool `toml:"skip_master_data"`

// Set to change the default max_allowed_packet size
MaxAllowedPacketMB int
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please add the toml tag.

Copy link
Collaborator

@siddontang siddontang left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@siddontang siddontang merged commit 4ed9ef1 into go-mysql-org:master Sep 18, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants