When running: ./bin/go-mysql-elasticsearch -config=./etc/river.toml
Receive error:
mysqldump: Couldn't execute 'SET SQL_QUOTE_SHOW_CREATE=1 ,SQL_MODE=concat(@@sql_mode, _utf8mb4 ',NO_KEY_OPTIONS,NO_TABLE_OPTIONS,NO_FIELD_OPTIONS') ': Variable 'sql_mode' can't be set to the value of 'NO_KEY_OPTIONS' (1231)
Using MySql 8.0.13 and as far as I know NO_KEY_OPTIONS is not supported anymore in v8.x so need to prevent this sql mode from being used.
If I add "compatible=NO_KEY_OPTIONS" to [mysqldump] in my.cnf then receive below error:
Invalid mode to --compatible: NO_KEY_OPTIONS
[2019/03/15 17:51:19] [error] canal.go:213 canal dump mysql err: exit status 1
[2019/03/15 17:51:19] [error] river.go:299 start canal err exit status 1
When running: ./bin/go-mysql-elasticsearch -config=./etc/river.toml
Receive error:
Using MySql 8.0.13 and as far as I know NO_KEY_OPTIONS is not supported anymore in v8.x so need to prevent this sql mode from being used.
If I add "compatible=NO_KEY_OPTIONS" to [mysqldump] in my.cnf then receive below error: