ODBC problem in PEAR
| From: | Max | Date: | Thu, 28 Feb 2002 06:57:39 +0000 |
| Subject: | ODBC problem in PEAR | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-916@lists.php.net to get a copy of this message | ||
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?
Thanks in advance!
Max
php@b2show.com