in reply to
log to DB connection issue & optimization
MySQL has timeout settings which you can set in your my.cnf file. Make them much bigger and see if that fixes your problem.
Comment on
Re: log to DB connection issue & optimization
In Section
Seekers of Perl Wisdom