Hello all,
Just a simple question. I am using perl DBI to connect to mysql. Its
like a daemon, so its always running. But whenever i get a signal it
connects to a database( different database each time). So there are 2
ways to do it
1. I disconnect and connect each time
2. I connect and keep the database handle and use 'use $database'
each time to change database.

Can anybody throw some light as to which one is better and are there
any problems involved?
thanks

  

-- 
Best regards,
 Neeraj                          mailto:[EMAIL PROTECTED]


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


---------------------------------------------------------------------
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 <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to