code: public Connection connect(final String url, final Properties info) throws SQLException {
          // TODO: handle the properties!
          // TODO: define what props we support!
  
          String baseUrl = url;
          int idx = url.lastIndexOf("?");        
          if(idx > 0) {
              baseUrl = url.substring(0,idx);
              String urlParams = url.substring(idx+1);
              setURLParameters(urlParams, info);
          }
  
          log.finest("Connecting to: " + url);
          try {
              final JDBCUrl jdbcUrl = JDBCUrl.parse(baseUrl);
              if(jdbcUrl == null) {
                  return null;
              }
              String userName = info.getProperty("user",jdbcUrl.getUsername());
              String password = info.getProperty("password",jdbcUrl.getPassword());
  
              final Protocol protocol = new MySQLProtocol(jdbcUrl.getHostname(),
                          jdbcUrl.getPort(),
                          jdbcUrl.getDatabase(),
                          userName,
                          password,
                          info);
  
              return new DrizzleConnection(protocol, new DrizzleQueryFactory());
          } catch (QueryException e) {
              throw SQLExceptionMapper.get(e);
          }
      }
docs: Connect to the given connection string.
  <p/>
  the properties are currently ignored
  
  @param url  the url to connect to
  @param info the properties of the connection - ignored at the moment
  @return a connection
  @throws SQLException if it is not possible to connect