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