Table containing cyrillic letters are destroyed
Bug #1666490 reported by
Dmitriy Razumovskiy
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Percona Toolkit moved to https://jira.percona.com/projects/PT |
New
|
Undecided
|
Unassigned |
Bug Description
Hi,
I tried to sync differences between tables on master and slave with a command:
pt-table-sync --execute --replicate percona.checksums master1
As the result, the data both on master and slave were destroyed because all cyrillic characters were replaced with question marks.
The table collation is ut8_general_ci. In my.cnd under [mysqld] I have character-
Versions:
Percona Server 5.6.35-
Percona Toolkit 2.2.20-1
To post a comment you must log in.
Hi,
Can you try using the --charset option to specify the default character set of pt-table-sync?
Eg. Compare the differences between these two runs:
pt-table-sync --print --charset=utf8 --replicate percona.checksums master1
pt-table-sync --print --charset=utf8 --replicate percona.checksums master1
Thanks.