An exception occurred in driver: could not find driver 7.4 code example
Example: 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