Re: [DB mysql]Multiple connection (bug 13232)
| From: | Martin Jansen | Date: | Mon, 31 Dec 2001 13:53:05 +0000 |
| Subject: | Re: [DB mysql]Multiple connection (bug 13232) | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-3739@lists.php.net to get a copy of this message | ||
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
Insert OK
Insert OK
Insert OK
Insert OK
Insert OK
Insert OK
Insert OK
Insert OK
Insert OK
Insert OK
Insert OK
Insert OK
Insert OK
I had to change your script a bit (different mysql user, different
table), but it seems as if PEAR DB is working correct here.
- Martin
--
Martin Jansen, <mail@martin-jansen.de>
http://www.martin-jansen.de/