Re: Re(2): [PEAR] wrapper for a wrapper

From: Date: Thu, 24 Jan 2002 05:33:10 +0000
Subject: Re: Re(2): [PEAR] wrapper for a wrapper
References: 1 2  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-710@lists.php.net to get a copy of this message
On Thu, Jan 24, 2002 at 06:13:40AM +0100, Quinn Comendant wrote : > My host is back up now, but I've attached my code to this email. You can > see in 'example.php' how I'm connecting to the databases. No attachments/code, please. I can wait until your site is reachable. > The databasedriver is mysql. I am using a different database in each > connection, but I connect with the same user/pass. If I repeat the test > calling PEAR::DB directly, I am able to connect to separate databases > fine. The problem is somewhere in my code. Are you really sure? There's a known limitation of the myqsl driver that if you connect to a database server with same user/pass/host name twice you get back the same link and thus changing the database for one link will change it on the other link too. So I wonder how this can work with your PEAR::DB only setup anyway. - Markus -- Please always Cc to me when replying to me on the lists.

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