阅读背景:

使用DBIx :: Connector而不是简单地将mysql_auto_reconnect设置为1有什么好处?

来源:互联网 

When dealing with persistant MySQL connections, the one problem is that they get dropped after a certain timeout (usually 28800 seconds). DBIx::Connector seems to do the job of automatically reconnecting to a dropped connection, but it adds more Perl code to each SQL statement which can get annoying. For example instead of:When dealing with persistant MySQL connections,




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: