Uploaded image for project: 'Debezium'
  1. Debezium
  2. DBZ-5873

mysql driver.allowPublicKeyRetrieval not works

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Obsolete
    • Icon: Minor Minor
    • None
    • 2.0.0.Final
    • mysql-connector
    • None
    • False
    • None
    • False
    • Moderate

      Bug report

      What Debezium connector do you use and what version?

      debezium-connector-mysql-2.0.0.Final

      What is the connector configuration?

      {
        "driver.allowPublicKeyRetrieval": "true",
        "connector.class": "io.debezium.connector.mysql.MySqlConnector",
        "database.user": "debezium",
        "topic.creation.default.partitions": "1",
        "database.server.id": "100",
        "topic.creation.default.cleanup.policy": "compact",
        "schema.history.internal.kafka.bootstrap.servers": "kafka-kafka-bootstrap:9092",
        "topic.prefix": "debezium-mysql-test",
        "schema.history.internal.kafka.topic": "schema-history",
        "database.hostname": "moco-mysql-primary",
        "topic.creation.default.replication.factor": "1",
        "name": "debezium-mysql-test",
        "database.include.list": "test"
      } 

      What is the captured database version and mode of depoyment?

      (E.g. on-premises, with a specific cloud provider, etc.)

      quay.io/cybozu/mysql:8.0.30, on-premises k8s

      What behaviour do you expect?

      mysql connection ok.

      What behaviour do you see?

       
      java.sql.SQLNonTransientConnectionException: Public Key Retrieval is not allowed

      Do you see the same behaviour using the latest relesead Debezium version?

      (Ideally, also verify with latest Alpha/Beta/CR version)

      Haven't tried.

      but database.allowPublicKeyRetrieval works.

              Unassigned Unassigned
              uqix0 JQ Zhu (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: