I read that DBD::MySQL has an internal auto-reconnect mechanism. Maybe DBIC doesn't know anything about the reconnect?
-Alex > -----Original Message----- > From: Adam Bartosik [mailto:[EMAIL PROTECTED] > Sent: Wednesday, June 20, 2007 1:24 PM > To: [email protected] > Subject: [Dbix-class] Class::Storage::DBI, connect_info/on_connect_do > > It looks like connect_info/on_connect_do statements are not executed > after reconnecting to database. At least with mysql. > > All DBI/dbd/dbix modules are up to date. > > How to repeat: > - enable mysql query log > - add smth to on_connect_do > - connect to db (i found this issue using dbix with catalyst) > - restart mysql > - re-run code with dbix > > No on_connect statements are executed after reconnect. > > Do you have the same? > > -- > [EMAIL PROTECTED] http://www.hurra-communications.com/ > $ o m e t e a m . d e v e l o p e r > Hurra Communications, Krakow/Stuttgart/London/Paris/Madrid > > _______________________________________________ > List: http://lists.rawmode.org/cgi-bin/mailman/listinfo/dbix-class > Wiki: http://dbix-class.shadowcatsystems.co.uk/ > IRC: irc.perl.org#dbix-class > SVN: http://dev.catalyst.perl.org/repos/bast/trunk/DBIx-Class/ > Searchable Archive: http://www.mail-archive.com/dbix- > [EMAIL PROTECTED]/
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ List: http://lists.rawmode.org/cgi-bin/mailman/listinfo/dbix-class Wiki: http://dbix-class.shadowcatsystems.co.uk/ IRC: irc.perl.org#dbix-class SVN: http://dev.catalyst.perl.org/repos/bast/trunk/DBIx-Class/ Searchable Archive: http://www.mail-archive.com/[email protected]/
