[MDEV-545] connector/j protocol problems Created: 2012-09-24  Updated: 2012-12-13  Due: 2012-10-08  Resolved: 2012-10-04

Status: Closed
Project: MariaDB Server
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Sergei Golubchik Assignee: Vladislav Vaintroub
Resolution: Cannot Reproduce Votes: 0
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



 Comments   
Comment by Vladislav Vaintroub [ 2012-10-04 ]

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

Comment by Vladislav Vaintroub [ 2012-10-04 ]

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

Comment by Peter (Stig) Edwards [ 2012-12-13 ]

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

Generated at Thu Feb 08 06:29:32 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.