[MXS-627] Failure to connect to MaxScale with MariaDB Connector/J Created: 2016-03-18  Updated: 2016-03-18  Resolved: 2016-03-18

Status: Closed
Project: MariaDB MaxScale
Component/s: Core
Affects Version/s: 1.4.0
Fix Version/s: 1.4.1

Type: Bug Priority: Major
Reporter: markus makela Assignee: markus makela
Resolution: Fixed Votes: 0
Labels: None


 Description   

The connectors have extra logic in them that processes the 5.5.5- prefixed version strings sent by MariaDB 10.0 servers. This logic expects that it is followed by another version string.

MaxScale 1.4.0 uses the string 5.5.5-1.4.0-maxscale for the handshake version string. The connector expects a connection string in the form of 5.5.5-10.x.y but fails with an NumberFormatException when it connects to MaxScale.

The fix to this is to change the connection string from 5.5.5-<maxscale version> to 5.5.5-10.0.0-<maxscale version>.



 Comments   
Comment by markus makela [ 2016-03-18 ]

Fixed in commit 34c3d2c2301a12ebb04d328e505abc9f2c9cea20

Generated at Thu Feb 08 04:00:44 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.