Page 1 of 1

Cannot find driver

PostPosted: 08. May 2011 12:00
by sikuneh
I'm new to XAMPP on Linux and have been experimenting a little. I'm creating a website and for whatever reason I can't connect to the database. Through PDO::$e->getMessage() I get the error "Could not find driver."

Can someone help me?

Re: Cannot find driver

PostPosted: 16. May 2011 13:21
by russellhoff
Which kind of database are you connecting to?

I recommend you to have a look to my latest post in here.

If you are trying to connect a MSSQL or Sybase DB, you have to get PHP compiled with those options...

I'm trying to build php with those options..

See viewtopic.php?f=17&t=39263&p=180224#p180224.

I'm looking also the ODBC and MSSQL options, ill post them into my post if i discover them.

cheers

Re: Cannot find driver

PostPosted: 26. May 2011 06:47
by sikuneh
Just connecting to the MySQL database that comes with the package.