Hello all
At work my hosting provider gives the following DSN for connecting to the MySQL database : `mysql://{user}:{password}@{host}:{port}}/{dbname}?useSSL=true&verifyServerCertificate=false`.
Note the query strings at the end.
When I pass that to the url keys on the database config, the two query string appear in the connection’s config, but they do nothing.
They should be equivalent to the PDO options `PDO::MYSQL_ATTR_SSL_CA` and `PDO::MYSQL_ATTR_SSL_VERIFY_SERVER_CERT` constants, but unless I set these constants in the options keys of the BD config, they do nothing.
So my question is : how standard are these query strings ?
Shouldn’t the framework or the connection class itself map them to something useful ?
Thanks !
submitted by /u/FlorentP67
[link] [comments]
More Stories
Will County, Illinois 1864 Map – May 20, 2023 at 04:14AM
This kid on Google Map trying to get by – April 27, 2023 at 05:05PM
World of Hyatt: Complete list of all-inclusive properties in Europe (with map) – April 27, 2023 at 04:57PM