Testing MySQL connection.