I have already tried the instructions mentioned in this post but still couldn't resolve the issue.
System Specifications:
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".
PS/ I am new to PHP ;)
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.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.