[Dbix-class] lost connection during query

J.G.Konrad konradjg at gmail.com
Mon Nov 12 23:26:10 GMT 2007


I ended up rebuilding DBD::mysql with the same major version that the
mysql server is running.  The mysql server is 5.0.22 and I was using
DBD::mysql built on 4.1.17 when things were not working.  After I
rebuilt DBD::mysql with 5.0.45 , everything apears to be working.

On Nov 12, 2007 10:07 AM, Matt S Trout <dbix-class at trout.me.uk> wrote:
> On Fri, Nov 09, 2007 at 03:19:27PM -0800, J.G.Konrad wrote:
> > Using DBIx::Class  0.08007 and a simple script that will connect to a
> > database, wait for greater than the timeout  and execute a statement
> > on a expired connection, everything works as described below.  A new
> > connection is made and the failing statement is retried. Setting
> > DBIC_TRACE=1 shows the SQL twice even though only one ->single() is
> > executed.
> >
> > When using a Apache, mod_perl, Catalyst , DBIx setup, a new connection
> > is created but the failing statement is not retried.   It doesn't
> > sound like this is the expected behavior.  Am I missing something for
> > this type of setup?
>
> Search for something like Apache::DBI being loaded and unload it. That's
> often a source of problems.
>
> --
>       Matt S Trout       Need help with your Catalyst or DBIx::Class project?
>    Technical Director                    http://www.shadowcat.co.uk/catalyst/
>  Shadowcat Systems Ltd.  Want a managed development or deployment platform?
> http://chainsawblues.vox.com/            http://www.shadowcat.co.uk/servers/
>
>
> _______________________________________________
> 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
>



More information about the DBIx-Class mailing list