Details
-
Bug
-
Status: Closed (View Workflow)
-
Minor
-
Resolution: Cannot Reproduce
-
N/A
-
None
-
CentOS Linux 7.7
Description
Parameters passed in the URL when connecting are ignore, for example, this does not connect with TLS:
sql::Driver* driver = sql::mariadb::get_driver_instance();
|
sql::Properties p;
|
sql::Connection *conn;
|
|
conn = driver->connect("tcp://host?user=usr&password=pwd&useTls=true", p); |
Whereas this does connect with TLS.
sql::Driver* driver = sql::mariadb::get_driver_instance();
|
sql::Properties p;
|
sql::Connection *conn;
|
|
p["useTls"] = "true"; |
|
conn = driver->connect("tcp://host?user=usr&password=pwd", p); |