code: protected String fetchDatabaseNameFromURL(String url) {
      URLLocation hostsLocation = fetchDatabaseNameIndexRange(url);
      return url.substring(hostsLocation.startIndex(), hostsLocation.endIndex());
    }
docs: Fetch database name from connection url.
  
  @return database name.