[Catalyst] Various login problems

Matt S Trout dbix-class at trout.me.uk
Tue Jan 2 16:10:50 GMT 2007


On 27 Dec 2006, at 15:56, Mark Zealey wrote:

> that's cos the database connection has gone away (it happens after  
> about 20
> min) and the DBD driver for you database doesnt have autoreconnect  
> set. This
> is a DBD:: specific thing - the way for mysql databases is to set
> mysql_auto_reconnect to true in the DBI connection options (which  
> iirc you
> can pass through DBIx::Class somehow.

Buggy as shit.

Never EVER use mysql_auto_reconnect - I've fixed a spectacular number  
of client problems simply by turning the damn thing off.

-- 
Matt S Trout, Technical Director, Shadowcat Systems Ltd.
Offering custom development, consultancy and support contracts for  
Catalyst,
DBIx::Class and BAST. Contact mst (at) shadowcatsystems.co.uk for  
details.
+ Help us build a better perl ORM: http://dbix- 
class.shadowcatsystems.co.uk/ +





More information about the Catalyst mailing list