Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Cannot Reproduce
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      There was a complain on the #maria channel, that the last version of MySQL Connector/J that works with my MariaDB (5.2.5-MariaDB-log) is 5.1.18. Later Connector/J versions have apparently something changed in the protocol and fail with the SQLException "Unable to load authentication plugin ' ' -"

      We should probably implement some workaround for this new Connector/J versions

        Gliffy Diagrams

          Attachments

            Activity

            Hide
            wlad Vladislav Vaintroub added a comment -

            Checked latest MariaDB 5.2 plus latest Connector/J combo. Worked for me, also asked ebergen on IRC, who is using 5.2 wirth connector/j , he did not have any problems in production

            Show
            wlad Vladislav Vaintroub added a comment - Checked latest MariaDB 5.2 plus latest Connector/J combo. Worked for me, also asked ebergen on IRC, who is using 5.2 wirth connector/j , he did not have any problems in production
            Hide
            wlad Vladislav Vaintroub added a comment -

            Checked with 5.2.5 / latest Connector/J (5.1.22) combo. Works fine too

            Show
            wlad Vladislav Vaintroub added a comment - Checked with 5.2.5 / latest Connector/J (5.1.22) combo. Works fine too
            Hide
            thatsafunnyname Peter (Stig) Edwards added a comment -

            I just bumped up against this:

            org.apache.tomcat.dbcp.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (Unable to load authentication plugin ''.)

            when a colleague upgraded to mysql-connector-java-5.1.22-bin.jar (from a version of the conenctor prior to 5.1.19) connecting to MariaDB 5.3.11, the account being used had an OLD_PASSWORD (pre 4.1 style), the fix was to re-digest the password by resetting it. I didn't test with any other mysqld instances.

            http://dev.mysql.com/doc/refman/5.1/en/cj-news-5-1-19.html

            Show
            thatsafunnyname Peter (Stig) Edwards added a comment - I just bumped up against this: org.apache.tomcat.dbcp.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (Unable to load authentication plugin ''.) when a colleague upgraded to mysql-connector-java-5.1.22-bin.jar (from a version of the conenctor prior to 5.1.19) connecting to MariaDB 5.3.11, the account being used had an OLD_PASSWORD (pre 4.1 style), the fix was to re-digest the password by resetting it. I didn't test with any other mysqld instances. http://dev.mysql.com/doc/refman/5.1/en/cj-news-5-1-19.html

              People

              • Assignee:
                wlad Vladislav Vaintroub
                Reporter:
                serg Sergei Golubchik
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Due:
                  Created:
                  Updated:
                  Resolved: