[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Persistant Connection


On Saturday 10 February 2001 20:31, Benjamin Pflugmann wrote:
>Hello.
>
>On Fri, Feb 09, 2001 at 09:53:45AM -0500, ruben@xxxxxxxxxxxx wrote:
>> Good Morning:
>> 
>> We have a system of databases (in the plural) which number in the hundreds
>> on individual servers.  I want to open a persistant connection on the 
server
>> and switch databases without closing the handle in DBI and reopening it.
>
>The SQL command "USE database" should work.
>
>> Is this possible without getting a rollback warning using DBI?

The warning indicates that there is a bug in your client code. Make sure you 
always finish your statement handles and always disconnect your database 
handles.

-- 
MySQL Development Team
   __  ___     ___ ____  __ 
  /  |/  /_ __/ __/ __ \/ /   Sasha Pachev <sasha@xxxxxxxxx>
 / /|_/ / // /\ \/ /_/ / /__  MySQL AB, http://www.mysql.com/
/_/  /_/\_, /___/\___\_\___/  Provo, Utah, USA
       <___/                  

---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <mysql-thread65013@xxxxxxxxxxxxxxx>
To unsubscribe, e-mail <mysql-unsubscribe-treed=ultraviolet.org@xxxxxxxxxxxxxxx>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php



This mailing list archive is a service of Copilot Consulting.