mevdschee / mevdschee/php-crud-api
Specify options for database connection in configuration
Open
@mevdschee is already working on this.
Since Oct 21, 2022.
enhancement
- Dominant language
- PHP
- Stars
- 3.7k
- Forks
- 1k
- Avg merge
- 1h 55m
- Merged PRs (30d)
- 7
Description
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 ?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.