PDOException could not find driver windows code example
Example 1: PDOException::("could not find driver") windows
extension=php_pdo_mysql.dll
Example 2: could not find driver
You need to have a module called pdo_mysql. Looking for following in phpinfo(),
pdo_mysql
PDO Driver for MySQL, client library version => 5.1.44