Closed VolhaRS closed 4 years ago
Hello, have tested this issue, and have the following results:
--src-server-id=1 \
--nice-pause=1 \
--log-level=debug \
--src-host=127.0.0.1 \
--src-user=reader \
--src-password=qwerty \
--src-tables=test.books \
--dst-host=127.0.0.1 \
--dst-schema=test \
--dst-table=books \
--csvpool \
--csvpool-file-path-prefix=qwe_ \
--mempool-max-flush-interval=60 \
--mempool-max-events-num=10000 \
--pump-data \
--migrate-table
Result:
Looks like it may be version-dependent or whatever else.
Try to install new version from pypi (in case you are not using sources from master branch) and check again, if possible
Hello,
use clickhouse-mysql for migrate data from mysql to clickhouse. After migration some fields have incorrect value in clickhouse, if in mysql they have utt8 with russian symbols. But new data replicated correctly! If the same data migrate with flag --migrate-table, i see question marks instead russian text.
Step to reproduce. In mysql:
In clickhouse:
Start migration from mysql to clickhouse:
clickhouse-mysql --src-host=mysql --src-tables=test.books --src-user=user --src-password=password --dst-host=clickhouse-server --dst-schema=test --dst-table=books --dst-user=user --dst-password=password --migrate-table
select data from mysql:
select data from clickhouse: