[help] MYSQL PDO Driver : Could not find driver

Problems with the Windows version of XAMPP, questions, comments, and anything related.

[help] MYSQL PDO Driver : Could not find driver

Postby Epenjehem » 19. March 2011 05:02

Hey guys, please help me here. I'm getting frustrated.
I have this code

Code: Select all
    $connection = new PDO("mysql:host=localhost;dbname=myDB","root","");
} catch(PDOException $error){
    echo $error->getMessage();

It show an error message : could not find driver!

I installed XAMPP ver 1.7.3 with default installation running on windows 7
i have checked phpinfo(), it shows mysql driver enabled
i have also checked in php.ini file for mysql pdo, and it's fine.

Please help me :cry:
Posts: 1
Joined: 19. March 2011 04:53

Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 62 guests