MySQL and PDO connection

One of my customers is trying to use the PDO connection methods in PHP to connect to mysql7. The code looks right, but it is getting an error of:

Error message: could not find driver

Any idea if this is something special that must be added or enabled?

1 Like

What web server, windows or linux? I seem to remember RDO not working on linux but a lot has changed over the years so it may work now just need to confirm once knowing what we are using here.

Windows: win27

He had mentioned something about not having the latest version of PHP installed, and that he thought it included the PDO driver in that installation..

On Win-27 server, Driver was installed, but only “pdo_mysql” extension needs to be enabled in php.ini file for the domain. We have placed custom php.ini file under domain and enabled the extension as well and the url was working fine after that mentioned in the ticket.

We have also replied on your ticket. If the problem still persist then please update us.

1 Like