Re: Major Bug in multiple MySQL Connections?

From: Date: Mon, 22 Apr 2002 12:37:38 +0000
Subject: Re: Major Bug in multiple MySQL Connections?
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-83124@lists.php.net to get a copy of this message
On Monday, 22. April 2002 14:07, Rasmus Lerdorf wrote: > But changing the active DB on an open connection is a trivial operation in > MySQL. I'd still suggest using mysql_select_db(); mysql_query(); instead > of tying up two connections for this. > > -Rasmus This won't work, if the current user, which was specified in mysql_connect/pconnect has not enough rights to use this db. Maybe we should reactivate mysql_change_user function. Currently I don't know, why this function was in 3.x but not in 4.x. If there is no specfic reason, I would like to reimplement this. Regards Georg

« previous php.dev (#83124) next »