DBIx::Class uses $db->ping to check whether the DB is alive, which works just fine, except when you try to use it through a ProxyServer.
Index: ProxyServer.pm
===================================================================
--- ProxyServer.pm (revision 8409)
+++ ProxyServer.pm (working copy)
@@ -88,6 +88,7 @@
'type_info_all' => 1,
'table_info' => 1,
'disconnect' => 1,
+ 'ping' => 1,
},
'DBI::ProxyServer::st' => {
'execute' => 1,
