RE: [PHP-DB] Connecting to MySQL

From: Date: Sat, 15 Jan 2011 14:25:14 +0000
Subject: RE: [PHP-DB] Connecting to MySQL
References: 1 2 3  Groups: php.db 
Request: Send a blank email to php-db+get-47636@lists.php.net to get a copy of this message
Resolved itself, just had to reboot. Works fine now. Thanks anyway :) ---------------------------------------- > From: cristiano_di_buduo@hotmail.com > To: phpster@gmail.com > Subject: RE: [PHP-DB] Connecting to MySQL > Date: Fri, 14 Jan 2011 21:58:33 +0100 > > > It outputs: > > PDO > PDO support enabled > PDO drivers mysql, odbc, sqlite > > > ---------------------------------------- > > From: phpster@gmail.com > > Date: Fri, 14 Jan 2011 15:52:55 -0500 > > To: cristiano_di_buduo@hotmail.com > > CC: php-db@lists.php.net > > Subject: Re: [PHP-DB] Connecting to MySQL > > > > On Fri, Jan 14, 2011 at 2:15 PM, Cristiano Di Buduo > > wrote: > > > > > > I just downloaded both PHP and MySQL, both newest stable versions, both are working > > > well, but when i try{} to : > > > > > > $dbh = new PDO('mysql:host=localhost;dbname=test', "user", > > > "passwd"); > > > > > > i catch{} a "could not find driver" error. > > > > > > Any help with this? > > > > > > I think the proper modules were set up in the php.ini by default. > > > -- > > > PHP Database Mailing List (http://www.php.net/) > > > To unsubscribe, visit: http://www.php.net/unsub.php > > > > > > > > > > Check the php.ini or run to see if the PDO is enabled > > > > -- > > > > Bastien > > > > Cat, the other other white meat > > > > -- > > PHP Database Mailing List (http://www.php.net/) > > To unsubscribe, visit: http://www.php.net/unsub.php > >

« previous php.db (#47636) next »