Skip to content

Specify options for database connection in configuration #923

Open
@galletl

Description

@galletl

Hello.

I want connect php-crud-api on MariaDB who accepts TLS connections only.
It's work if, in PHP code, I modify the function "getOptions" for adding those lines in mysql options block :

\PDO::MYSQL_ATTR_SSL_CAPATH => '/etc/ssl/certs',
\PDO::MYSQL_ATTR_SSL_VERIFY_SERVER_CERT => true,

There is a way to specify options for database connection in configuration ?

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions