MySQL Forums
Forum List  »  Perl

Perl MySQL Connection [urgent]
Posted by: Abdul Lateef Khan
Date: June 16, 2006 11:11PM

Hi All,

I have small question for big perl job. I am using Asterisk IPPBX. I have my Perl script which is connecting to MySQL to Insert CallLogs etc.. All is working fine.

I have more than 500 active calls, it means my perl script calling each time when the call is finished with new MySQL Connection.

I wanted to get some logic to make only one connection to MySQL for each 500 calls. so for this connection i can avoid to make load for my Database server. Because i can see lot of problem some time DB is not responding some time table is crashing...

So please help me what can be login to make one DB connection for my script?

Thank You
Abdul

Options: ReplyQuote


Subject
Written By
Posted
Perl MySQL Connection [urgent]
June 16, 2006 11:11PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.