added ping() method and MySQLi driver support