Details
-
Bug
-
Status: Closed (View Workflow)
-
Minor
-
Resolution: Fixed
-
1.4.0
-
None
-
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
Attachments
Activity
Field | Original Value | New Value |
---|---|---|
Fix Version/s | 1.4.1 [ 22004 ] | |
Resolution | Fixed [ 1 ] | |
Status | Open [ 1 ] | Closed [ 6 ] |
Workflow | MariaDB v3 [ 74773 ] | MariaDB v4 [ 134853 ] |
correction done with commit https://github.com/MariaDB/mariadb-connector-j/commit/2d1d4e3d330ca88a86a24583f7d639796169269b