|laziness, impatience, and hubris|
MySQL server has gone awayby Massyn (Hermit)
|on Dec 27, 2003 at 08:30 UTC||Need Help??|
Massyn has asked for the
wisdom of the Perl Monks concerning the following question:
Although I understand what the MySQL server has gone away error means from a mySQL point of view, I would like to know how to resolve it from a Perl DBI point of view. My script works perfectly through CGI, but putting it into mod_perl causes the error if there's no activity for 8 hours. The problem really is that I can't make any changes to mySQL (ISP restrictions, etc), and from what I've seen, Apache::DBI keeps the sessions alive, so obviously DBI still thinks it's alive, but mySQL has dropped the connection already.
Thank you fellow monks.
|\/| _. _ _ ._ | |(_|_>_>\/| | /