can i keep a connection to the database open

2001-06-07 Thread Harsh

i want to write a web-based chat application in Perl which runs on Unix
server with mySQL as backend. The application needs to continouly
interact with database hence instead of opening a DBI connection in each
perl page, I wish to keep a live open connection with database. Is it
possible ? If yes, how ?

Pls reply to my email id : [EMAIL PROTECTED]

Reagrds
harsh

http://mail.indiainfo.com
First you had 10MB of free mail space.
Now you can send mails in your own language !!!

-
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




Re: can i keep a connection to the database open

2001-06-07 Thread Peter L. Berghold

At 07:05 PM 6/7/2001 +0530, Harsh wrote:
i want to write a web-based chat application in Perl which runs on Unix
server with mySQL as backend. The application needs to continouly
interact with database hence instead of opening a DBI connection in each
perl page, I wish to keep a live open connection with database. Is it
possible ? If yes, how ?


What web server are you using?


-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Peter L. 
Berghold[EMAIL PROTECTED]
Schooner Technology ConsultingCELL: (732) 539-7920
Unix Professional Services:Sun/Solaris, Linux, Perl, Perl/CGI, mod_perl 


-
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




RE: can i keep a connection to the database open

2001-06-07 Thread Simon Green

In PHP you would use pconnect but there is little or no time advantage,
but you mite use all your threads up?
Simon

-Original Message-
From: Harsh [mailto:[EMAIL PROTECTED]]
Sent: 07 June 2001 14:35
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: can i keep a connection to the database open


i want to write a web-based chat application in Perl which runs on Unix
server with mySQL as backend. The application needs to continouly
interact with database hence instead of opening a DBI connection in each
perl page, I wish to keep a live open connection with database. Is it
possible ? If yes, how ?

Pls reply to my email id : [EMAIL PROTECTED]

Reagrds
harsh

http://mail.indiainfo.com
First you had 10MB of free mail space.
Now you can send mails in your own language !!!

-
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

-
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