[Dbix-class] lost connection during query

Oleg Pronin syber.rus at gmail.com
Wed Oct 31 11:40:32 GMT 2007


you may wish to see DBIx::RetryOverDisconnects to forget about this problem.

2007/10/31, J. G. Konrad <konradjg at gmail.com>:
>
> I was wondering if anyone had experience with this type of error, "DBI
> Exception: DBD::mysql::st execute failed: Lost connection to MySQL server
> during query" while using DBIx::Class ?
>
> our MySQL server was getting swamped with too many connections so I
> changed the wait_timeout to 30 seconds rather then the default of 28800
> seconds.  In previous post that I read there is reconnecting behavior and
> this should work.  That is, if the connection is gone ( timed  out ) ,
> DBIx::Class will reconnect. Am I hitting some kind of race condition with
> the reconnection behavior?
>
> I am using  version 0.08003  DBIx::Class.
>
>
> any thoughts / comments are appreciated.
>
> -jk
>
> _______________________________________________
> List: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/dbix-class
> IRC: irc.perl.org#dbix-class
> SVN: http://dev.catalyst.perl.org/repos/bast/DBIx-Class/
> Searchable Archive:
> http://www.grokbase.com/group/dbix-class@lists.rawmode.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.scsys.co.uk/pipermail/dbix-class/attachments/20071031/786=
5bc43/attachment.htm


More information about the DBIx-Class mailing list