code: public static boolean acceptsUrl(String url) {
      return (url != null) && (url.startsWith("jdbc:mariadb:")
          || (url.startsWith("jdbc:mysql:") && !url.contains(DISABLE_MYSQL_URL)));
    }
docs: Tell if mariadb driver accept url string. (Correspond to interface
  java.jdbc.Driver.acceptsURL() method)
  
  @param url url String
  @return true if url string correspond.