Closed Guilherme-fagundes closed 4 years ago
What kind of database would you like to use?
I usually use MYSQL. use the PDO because it is safer because of the prepare statement
We don't currently have a PDO driver. The Query Builder does a very similar thing for security as a prepared statement, but our MySQL and Postgres drivers do support true prepared statements when you need them.
it's been almost 2 years since this was commented on, is there still not a pdo driver for mysql in CI4?
No. See https://github.com/codeigniter4/CodeIgniter4/tree/develop/system/Database
CodeIgniter is a community driven project and accepts contributions of code and documentation from the community. These contributions are made in the form of Issues or Pull Requests on the CodeIgniter4 repository on GitHub. See https://github.com/codeigniter4/CodeIgniter4/blob/develop/contributing/README.md
This information / detail should be in the Docs.
It is documented: https://codeigniter4.github.io/CodeIgniter4/intro/requirements.html
How to connect to the bank with pdo? When informing the data in the documentation, the message that the driver was not found is displayed. Help me!!!