Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pdo driver not found #3922

Closed
Guilherme-fagundes opened this issue Nov 24, 2020 · 7 comments
Closed

Pdo driver not found #3922

Guilherme-fagundes opened this issue Nov 24, 2020 · 7 comments

Comments

@Guilherme-fagundes
Copy link

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!!!

@qury
Copy link
Contributor

qury commented Nov 24, 2020

What kind of database would you like to use?

@Guilherme-fagundes
Copy link
Author

I usually use MYSQL. use the PDO because it is safer because of the prepare statement

@lonnieezell
Copy link
Member

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.

@luckdragon
Copy link

it's been almost 2 years since this was commented on, is there still not a pdo driver for mysql in CI4?

@kenjis
Copy link
Member

kenjis commented Sep 12, 2022

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

@ampmonteiro
Copy link

This information / detail should be in the Docs.

@kenjis
Copy link
Member

kenjis commented Dec 2, 2022

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants