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

Add MariaDB specific username for MySQL parser

    XMLWordPrintable

Details

    Description

      org.apache.kafka.connect.errors.ConnectException: An exception occurred in the change event producer. This connector will be stopped.
       at io.debezium.pipeline.ErrorHandler.setProducerThrowable(ErrorHandler.java:42)
       at io.debezium.connector.mysql.MySqlStreamingChangeEventSource.handleEvent(MySqlStreamingChangeEventSource.java:366)
       at io.debezium.connector.mysql.MySqlStreamingChangeEventSource.lambda(MySqlStreamingChangeEventSource.java:842)
       at com.github.shyiko.mysql.binlog.BinaryLogClient.notifyEventListeners(BinaryLogClient.java:1118)
       at com.github.shyiko.mysql.binlog.BinaryLogClient.listenForEventPackets(BinaryLogClient.java:966)
       at com.github.shyiko.mysql.binlog.BinaryLogClient.connect(BinaryLogClient.java:606)
       at com.github.shyiko.mysql.binlog.BinaryLogClient.run(BinaryLogClient.java:850)
       at java.base/java.lang.Thread.run(Thread.java:829)
      Caused by: io.debezium.DebeziumException: Error processing binlog event
       ... 7 more
      Caused by: io.debezium.text.ParsingException: DDL statement couldn't be parsed. Please open a Jira issue with the statement 'revoke all privileges, grant option from 'retool'@'
      extraneous input '@' expecting \{<EOF>, '--'}
       at io.debezium.antlr.ParsingErrorListener.syntaxError(ParsingErrorListener.java:43)
       at org.antlr.v4.runtime.ProxyErrorListener.syntaxError(ProxyErrorListener.java:41)
       at org.antlr.v4.runtime.Parser.notifyErrorListeners(Parser.java:544)
       at org.antlr.v4.runtime.DefaultErrorStrategy.reportUnwantedToken(DefaultErrorStrategy.java:377)
       at org.antlr.v4.runtime.DefaultErrorStrategy.singleTokenDeletion(DefaultErrorStrategy.java:548)
       at org.antlr.v4.runtime.DefaultErrorStrategy.sync(DefaultErrorStrategy.java:266)
       at io.debezium.ddl.parser.mysql.generated.MySqlParser.root(MySqlParser.java:923)
       at io.debezium.connector.mysql.antlr.MySqlAntlrDdlParser.parseTree(MySqlAntlrDdlParser.java:72)
       at io.debezium.connector.mysql.antlr.MySqlAntlrDdlParser.parseTree(MySqlAntlrDdlParser.java:45)
       at io.debezium.antlr.AntlrDdlParser.parse(AntlrDdlParser.java:82)
       at io.debezium.connector.mysql.MySqlDatabaseSchema.parseDdl(MySqlDatabaseSchema.java:213)
       at io.debezium.connector.mysql.MySqlDatabaseSchema.parseStreamingDdl(MySqlDatabaseSchema.java:200)
       at io.debezium.connector.mysql.MySqlStreamingChangeEventSource.handleQueryEvent(MySqlStreamingChangeEventSource.java:571)
       at io.debezium.connector.mysql.MySqlStreamingChangeEventSource.lambda(MySqlStreamingChangeEventSource.java:814)
       at io.debezium.connector.mysql.MySqlStreamingChangeEventSource.handleEvent(MySqlStreamingChangeEventSource.java:349)
       ... 6 more
      

      Attachments

        Activity

          People

            anmohant Anisha Priyadarshini Mohanty
            klinux@gmail.com Kleber Rocha
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: