public void parseUrl(String url) throws SQLException {
  if (url.startsWith("jdbc:mysql:")) {
    parseInternal(this,url,new Properties());
    return;
  }
  String[] arr=new String[]{"jdbc:mysql:thin:","jdbc:mariadb:"};
  for (  String prefix : arr) {
    if (url.startsWith(prefix)) {
      parseInternal(this,"jdbc:mysql:" + url.substring(prefix.length()),new Properties());
      break;
    }
  }
}

public void parseUrl ( String url ) throws SQLException { if ( url . startsWith ( "jdbc:mysql:" ) ) { parseInternal ( this , url , new Properties ( ) ) ; return ; } String [ ] arr = new String [ ] { "jdbc:mysql:thin:" , "jdbc:mariadb:" } ; for ( String prefix : arr ) { if ( url . startsWith ( prefix ) ) { parseInternal ( this , "jdbc:mysql:" + url . substring ( prefix . length ( ) ) , new Properties ( ) ) ; break ; } } }
parse url connection string .
