Re: PEAR DB: cannot use more than one database connection
| From: | Ferenc Engard | Date: | Wed, 17 Oct 2001 15:24:02 +0000 |
| Subject: | Re: PEAR DB: cannot use more than one database connection | ||
| References: | 1 2 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-396@lists.php.net to get a copy of this message | ||
John Lim wrote:
>
> PHP recycles database connections if the userid is the same.
> Refer to the http://php.net/mysql_connect docs for more info,
> but it applies to all databases.
>
> Solution: Create two userid's, one for each database connection.
Ok, I have realized what do you want; if I connect under different
usernames, then I can use several db's at once. Thanks!
Circum