[Dbix-class] Class::Storage::DBI, connect_info/on_connect_do

John Goulah jgoulah at gmail.com
Thu Jun 21 22:56:57 GMT 2007


On 6/21/07, Adam Bartosik <adam.bartosik at hurra.com> wrote:
>
> > I would recommend for now explicitly setting "mysql_auto_reconnect =3D>
> > 0" in your connect_info options hashref and seeing if this clears up
> > your problem.
>
> Yes, setting
> mysql_auto_reconnect =3D> 0
> disables internal DBD handling of auto-reconnect and on_connect_do SQLs
> works.




I tried this setting and actually it prevented me from connecting at all.  I
tried it out since I plan to run under mod_perl.   This is more of an FYI
thing, but if anyone has ideas on why this would happen I'd love to hear it-

Thanks,
John
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.scsys.co.uk/pipermail/dbix-class/attachments/20070621/ead=
1b7b4/attachment.htm


More information about the Dbix-class mailing list