| Bob Leitner 2004-08-26, 3:56 am |
| Is there a way to confirm correct installation of PEAR?
I developed a site locally on my system (WinXP Pro, IIS 5.1) and used
PEAR::DB for connecting to a local MySQL server, all was fine. I brought up
the production web server (Win2k, IIS 5.0) which also has MySQL local on it.
Using newest version of both PHP & MySQL, and download newest version of
PEAR. All seemed fine until my script had to access the db - I get a DB
Error: connect failed. If I try to connect to the db, using consistent
credentials, using the standard PHP functions it works fine. So I know that
the database is working fine and I have my users set up properly, which
leads me to believe that it's a PEAR issue. I did try to re-install PEAR
with no luck. I have standard installs of everything except that I put MySQL
on the D: drive instead of the C: drive. I'm not a PEAR expert by any means,
this is my first attempt at using PEAR. If nothing else, how do I get more
information regarding the error? Like did it fail because of credentials, or
whatever?
thanks,
Bob
|