in reply to Handle DBI connection lost

Reconnect and retry is better suited for automatic recovery from a network "glitch" than from a DB server restart.

According to one of the IT people I know at work, when a DB server needs to be restarted, they notify clients to shutdown their apps, first, then do the DB restart, then notify clients they may restart there apps.