Error!: could not find driver PHP Mysql -
i having issue connection mysql server fails above message . have made sure
- extension folder = ext enabled,
- the extension=php_pdo_mysql.dll enabled
- in extension directory dll present.
i must mention - have manually downloaded , configured php , apache2 , mysql. although can run phpinfo correctly , not sure if have enable else make db connections work
although if run test
if (!defined('pdo::attr_driver_name')) { echo 'pdo unavailable'; } else echo('pdo available');
i message pdo available. when researching error came across php code test pdo available? question wherein happened above code fragment.
any appreciated.
thanks
Comments
Post a Comment