[Catalyst] MySQL server has gone away

Chisel Wright chisel at herlpacker.co.uk
Thu Apr 19 14:08:41 GMT 2007

On Thu, Apr 19, 2007 at 01:54:52PM +0100, Adeola Awoyemi wrote:
> Hi all,
> I have problem that when I run my app via fastcgi I get an error  
> where one of my models can't connect to the database with the message  
> "MySQL server has gone away". When I start it using 'script/ 
> myapp_server.pl' it works fine.
> Has anyone come across this before? Any hints to fixing this would be  
> greatly appreciated.

I'm not sure if it's the same problem I had a very long time ago, but
you could try playing with the "mysql_auto_reconnect" option (perldoc

Chisel Wright
e: chisel at herlpacker.co.uk
w: http://www.herlpacker.co.uk/

  Pedantry is a hugely underrated attribute.

More information about the Catalyst mailing list