in reply to Re^6: how to test a connection with mysql db
in thread how to test a connection with mysql db
It opens an new connection, it should be completely harmless. If you really want to get sure that the connection's still alive, use $dbh->ping, before trying to connect.