Re: ODBC problem in PEAR

From: Date: Thu, 28 Feb 2002 10:37:26 +0000
Subject: Re: ODBC problem in PEAR
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-917@lists.php.net to get a copy of this message
On Thu, 2002-02-28 at 07:57, Max wrote: > I'm new to Pear, though I've coded in PHP for a while. Recently I tested > PEAR::DB and found many problems. The main problem is it had trouble to work > with ODBC on my Win 2000 PC. I used MyODBC 3.5.1 to connect to a MySQL > database. While I didn't have any problem with PHP's unified ODBC API, I > couldn't connect the database through PEAR::DB. The error I got is as below: > > [nativecode=IM002 [Microsoft][ODBC Driver Manager] Data source name not > found and no default driver specified] > > Does anyone have a clue? Not unless you show us your code. What DSN did you use in DB::connect? - Stig

« previous php.pear.general (#917) next »