-
Notifications
You must be signed in to change notification settings - Fork 71
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
binlog format for source db is not compatible error #204
Comments
Can you tell us more about your configuration? What flavour of mysql are you running? Can you show us your config? |
Sure 👍 I have mariadb 10.1 on one server and mariadb 10.3 on the other. Both running a Linux flavor. The one is ubuntu 16 and the other (destination) is centos 8.2 |
Anything specifics you wish to know about? command output etc? |
Not sure if Ghostferry works with Mariadb out of the box. The error is you are experiencing is emitted somewhere here: https://github.com/Shopify/ghostferry/blob/master/ferry.go#L933-L969 One of those queries appear like it doesn't work with Mariadb. |
had a look a the code and what it expects: Manual query output: MariaDB [(none)]> show variables like 'binlog_format'; MariaDB [(none)]> SHOW VARIABLES LIKE 'binlog_row_image'; MariaDB [(none)]> SHOW VARIABLES LIKE 'binlog_rows_query_log_events'; I also read up on that variable for MariaDB, sounds like it was removed: https://severalnines.com/blog/migrating-mysql-enterprise-mariadb-103 https://mariadb.com/kb/en/system-variable-differences-between-mariadb-102-and-mysql-57/ So from the looks of it ghostferry won't every work with mariadb :( |
Actually it should work with mariadb, you're encountering #203: You also should specify |
There's also the config variable |
I keep getting this error even after changing the binlog_format to ROW and i confirmed that binlog_row_image is set to FULL
ERRO[0000] binlog format for source db is not compatible error="sql: no rows in result set" tag=ferry
Now what would be causing that?
a bug, source DB not configured correctly?
The error message does not give any more clue's as to what might be wrong
The text was updated successfully, but these errors were encountered: