If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Data Access, Manipulation & Batch Languages > Perl and the DBI > Perl MySQL Connection

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 06-14-06, 04:37
abdul_zu abdul_zu is offline
Registered User
 
Join Date: Dec 2002
Location: Nepal
Posts: 32
Perl MySQL Connection

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
Reply With Quote
  #2 (permalink)  
Old 06-15-06, 03:34
abdul_zu abdul_zu is offline
Registered User
 
Join Date: Dec 2002
Location: Nepal
Posts: 32
Hi All,
Any idea...?
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On