Dead & alive DB tests

Check for dead DB server using MySQL, MySQLi & PDO.

Works locally, checking on Travis before merging...