Open hbpro opened 6 years ago
Do you have a table named #mysql50##sql-1_13c1eb8
? That seems an invalid table name.
No, I don't have. This is my command:
/root/maxwell-1.11.0/bin/maxwell --user='maxwell' --password='********' --host='192.168.100.1' --port=3306 --include_dbs=my_database --include_tables=tb1,tb2 --producer=kafka --kafka.bootstrap.servers=localhost:9092
You mentioned you've dropped maxwell
database completely? That should've cleaned everything up. Not sure what could go wrong. You could also try adding this option to your command:
--recapture_schema=true
, that'll recapture schema again when maxwell starts. If it works, then you can remove this option from the command.
No improvement, still getting the same error
Is there any kinda relay log file or database except 'Maxwell' database?
Forgot to mention, to use --recapture_schema=true
, you need to upgrade maxwell to 1.16.1 or later. There are no relay log files or databases apart from maxwell
.
Yes, I have upgraded it to maxwell-1.17.1 but the same problem arises.
I even changed the target database --include_dbs=other_database
but the error indicates the previous database and this weird table #mysql50##sql-1_13c1eb8
It looks like a temp table to me. Probably something different between mariaDb and MySQL: I think MySQL never replicates the rows of a temp table. I’d be willing to put in a fix for this, but would need a reliable repro.
On Jul 4, 2018, at 07:41, Hossein Bakhtiari notifications@github.com wrote:
I even changed the target database --include_dbs=other_database but the error indicates the previous database and this weird table #mysql50##sql-1_13c1eb8
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.
Hey guys, I've deployed Maxwell in order to publish data changes from MariaDB to Kafka, however, after relocating MariaDB instance container (binary log path hasn't been changed), I got this error while running the maxwell agent:
I droped the maxwell database and double-checked the database binary log settings (even reseting the binary log) and maxwell db user permissions, but still no luck. Any suggestions are welcomed. Thanks,