[CONJ-274] Can't connect to MySQL 5.1.73 using a password Created: 2016-04-06  Updated: 2016-04-07  Resolved: 2016-04-07

Status: Closed
Project: MariaDB Connector/J
Component/s: Other
Affects Version/s: 1.4.0
Fix Version/s: 1.4.1

Type: Bug Priority: Minor
Reporter: Matthew J Rensing Assignee: Diego Dupin
Resolution: Fixed Votes: 0
Labels: None
Environment:

Windows 10, connecting to MySQL server 5.1.73



 Description   

Attempting to connect to the JDBC driver using the following syntax:
org.mariadb.jdbc.Driver.connect(connString, props)
where connString is a simple jdbc string (e.g. "jdbc:mysql://MyServer:3306/myDb") and props is a java.util.Properties containing the user name ("user" = "root") and password ("password" = MyPassword).

Returns an error about unable to connect, stating that USE PASSWORD = NO, which seems incorrect given my specification of a password.

Supplying the user name and password directly in the connection string ("...?user=root&password=MyPassword") gives the same behavior



 Comments   
Comment by Diego Dupin [ 2016-04-07 ]

correction done with commit https://github.com/MariaDB/mariadb-connector-j/commit/2d1d4e3d330ca88a86a24583f7d639796169269b

Generated at Thu Feb 08 03:14:28 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.