Error!: could not find driver PHP Mysql -


i having issue connection mysql server fails above message . have made sure

  1. extension folder = ext enabled,
  2. the extension=php_pdo_mysql.dll enabled
  3. 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

Popular posts from this blog

Android layout hidden on keyboard show -

google app engine - 403 Forbidden POST - Flask WTForms -

c - Why would PK11_GenerateRandom() return an error -8023? -