Re: [DB mysql]Multiple connection (bug 13232)

From: Date: Mon, 31 Dec 2001 14:00:17 +0000
Subject: Re: [DB mysql]Multiple connection (bug 13232)
References: 1 2  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-3740@lists.php.net to get a copy of this message
On Mon, 31 Dec 2001 14:53:05 +0100 "Martin Jansen" <mail@martin-jansen.de> wrote: > On Mon, 31 Dec 2001 11:33:10 +0100, Pierre-Alain Joye wrote: > > >The multiple connection work only if you have different user, but not with > >only different DB. Seems to work with a different host. > > Your script works for me (PHP 4.2.0-dev, MySQL 3.23.38, latest PEAR CVS): > > Resource id #1/Resource id #1 Sure it will work :), but the needs is to use two different connections (software mirroring). Normally I want to get : Resource id #1/Resource id #2. I just installed another linux box to use two different mysql server. My station is not enough powerfull to run 2 mysql ;). But it's not due to pear neither php, and I didnt look at the mysql c api about multiples connections with the same user/host, but not very important, the final goal has to work with 2 different hosts. Just boring to install a 2nd host :) only for tests purposes. pa

« previous php.pear.dev (#3740) next »