Uploaded image for project: 'MariaDB Connector/J'
  1. MariaDB Connector/J
  2. CONJ-132

Unimplemented exceptions from original mysql drivers

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • 1.1.6, 1.1.7, 1.1.8
    • 1.1.9
    • Other
    • None

    Description

      Current version of MariaDB client library doesn't output actual exceptions when query fails for some reason.

      I've recently came across this issue, when with MariaDB the exception was

      Caused by: java.sql.SQLNonTransientConnectionException: Could not send query: Broken pipe

      With official MySQL driver the exception was
      Caused by: com.mysql.jdbc.PacketTooBigException: Packet for query is too large (9028625 > 4194304). You can change this value on the server by setting the max_allowed_packet' variable.

      Which outputs the actual issue and doesn't imitate network issue.

      Attachments

        Issue Links

          Activity

            People

              diego dupin Diego Dupin
              DarkKnightCZ Lukas Raska
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Git Integration

                  Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.