code: public static void ping(String driver, String url, String user, String password) {
  		try {
  			Class.forName(driver);
  			Connection connection = DriverManager.getConnection(url, user, password);
  			connection.close();
  		} catch (Exception e) {
  			JKExceptionUtil.handle(e);
  		}
  	}
docs: Ping.
  
  @param driver   the driver
  @param url      the url
  @param user     the user
  @param password the password