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

php - SPIP: From Tag directly to an article -

jquery - isAjaxRequest always return false -

ruby on rails - In a controller spec, how to find a specific tag in the generated view? -