1

I have already tried the instructions mentioned in this post but still couldn't resolve the issue.

System Specifications:

  • Windows 7 Professional SP1 (x64)
  • Apache 2.1.12 (x64)
  • PHP 5.6.6 (x64)
  • MySQL 5.6.22 (x64)

The following configurations are set as well:

extension_dir = "C:\Apache\php\ext"
....
extension=php_pdo_mysql.dll

$db = new PDO("mysql:host=localhost;dbname=customers", $user, $pass);

Unfortunately I am still having the exception, "PDOException: Could not find driver".

P.S/ I am new to PHP ;)

Community
  • 1
  • 1
Thurein
  • 2,536
  • 7
  • 34
  • 49

1 Answers1

0

I've just removed the existing MySQL 5.6.22 and installed 5.6.23 -a different build. Now it is working fine but I am not sure what went down the road.

Thurein
  • 2,536
  • 7
  • 34
  • 49