Cannot find driver

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

Cannot find driver

Postby sikuneh » 08. May 2011 12:00

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?
sikuneh
 
Posts: 4
Joined: 29. April 2011 22:34

Re: Cannot find driver

Postby russellhoff » 16. May 2011 13:21

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
russellhoff
 
Posts: 6
Joined: 28. October 2010 11:51
Location: Laudio, Basque Country

Re: Cannot find driver

Postby sikuneh » 26. May 2011 06:47

Just connecting to the MySQL database that comes with the package.
sikuneh
 
Posts: 4
Joined: 29. April 2011 22:34


Return to XAMPP for Linux

Who is online

Users browsing this forum: No registered users and 7 guests