Re: [PDO] How to implement automatic reconnection in PDO?

[email protected] (Kristian Köhntopp) Tue, 28 Jul 2009 08:53:22 +0200
Newsgroups php.pdo
Message-ID <[email protected]>
On 26.07.2009, at 23:38, Christian Hammers wrote:
> Any ideas how to implement automatic reconnection in an PDO  
> application?

http://mysqldump.azundris.com/archives/83-Connection-Scoped-State-in-MySQL.html

This is true in other databases as well.

Do not do auto-reconnect. Ever. It is wrong.

Kris

-- 
Kristian Köhntopp
https://www.xing.com/profile/Kristian_Koehntopp
http://blog.koehntopp.de