Skip to content

Getting MySqlConnection error #148

@prayag1m95

Description

@prayag1m95

When I try running the cdc-parent code in eclipse it gives me following error -

ERROR embedded.EmbeddedEngine: Unable to initialize and start connector's task class 'io.debezium.connector.mysql.MySqlConnectorTask' with config:

The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
at io.debezium.connector.mysql.MySqlJdbcContext.querySystemVariables(MySqlJdbcContext.java:299)
at io.debezium.connector.mysql.MySqlJdbcContext.readMySqlSystemVariables(MySqlJdbcContext.java:280)
at io.debezium.connector.mysql.MySqlTaskContext.(MySqlTaskContext.java:81)
at io.debezium.connector.mysql.MySqlTaskContext.(MySqlTaskContext.java:53)
at io.debezium.connector.mysql.MySqlConnectorTask.createAndStartTaskContext(MySqlConnectorTask.java:331)
at io.debezium.connector.mysql.MySqlConnectorTask.start(MySqlConnectorTask.java:136)
at io.debezium.connector.common.BaseSourceTask.start(BaseSourceTask.java:49)
at io.debezium.embedded.EmbeddedEngine.run(EmbeddedEngine.java:791)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
Caused by: com.mysql.cj.jdbc.exceptions.CommunicationsException: Communications link failure

Also, google_application_credentials gives me null output.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions