Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upMysql Sink : unknown table X in information_schema Exception #573
Comments
|
Downgrading the mysql driver to 5.1.17 fixed the issue for me! :) the 6er version of the driver causes the same issue. |
|
I have the same issue. if I downgrade the mysql connector java from 8.x to 5.17, sink connector works but mysql source connector fails. I needs this urgent. Any help?
|
|
We are seeing the same issue with the Connect JDBC version 5.0.1 and MySQL JDBC driver 8.0.15. Downgrading the JDBC driver to 5.1.25 fixed the issue. |
|
We're indeed seeing the same issue, but downgrading our MySQL driver is not an option. Is there a timeline for a fix? |
|
Server version: 5.7.25 MySQL Community Server (GPL)
Looking at the
With the v5 driver we then get:
Whilst with the v8 drivers the failure is logged:
|
|
@eyesmoker this issue is about the JDBCSink - please raise another issue and reference this one if you are seeing issues with the JDBCSource that you think are related. |
|
We've managed to find a workaround that doesn't involve downgrading the MySQL JDBC driver. Appending the For example, |
|
@rmoff some context and then request for guidance on next steps.. which lists at the very end that the default value for a) either update the JDBC Connector documentation to specify this so that others know how to fix. (BTW, Confluent documentation has be exceptional !!!) happy to help with either, though I do not know about the exact steps per se and will need guidance :) |
Hello,
the connector is able to read from the mysql db log and write it to kafka. I can see it via KSQL Server. But the sink is not working.
If the table "thermostat_data" is not there it will be created in the demodb schema.
{ "name": "mysql-sink-thermostat-data", "config": { "connector.class": "io.confluent.connect.jdbc.JdbcSinkConnector", "tasks.max": "1", "topics": "thermostat_data", "connection.url": "jdbc:mysql://127.0.0.1:3306/demodb?user=connector&password=XXX", "auto.create": "true", "insert.mode": "insert", "key.converter.schema.registry.url": "http://schema-registry-service:8081", "value.converter.schema.registry.url": "http://schema-registry-service:8081", "transforms": "unwrap", "transforms.unwrap.type": "io.debezium.transforms.UnwrapFromEnvelope" } }After that the connector crashes with
in use:
mysql db server 5.7
mysql connector driver 8.0.11, 8.0.13 (tried both)
kafka-connect-jdbc-5.1.0
docker container: debezium/connect:0.9.0.Beta2
Please help