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 -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php