title: h2 mixed mode connection problem
body: <p>I start h2 database in a servlet context listener:</p>
  
  <pre><code>public void contextInitialized(ServletContextEvent sce) {
       org.h2.Driver.load();
       String apprealPath = sce.getServletContext().getRealPath("\\");
       String h2Url = "jdbc:h2:file:" + apprealPath + "DB\\cdb;AUTO_SERVER=true";
       LoggerContext lc = (LoggerContext) LoggerFactory.getILoggerFactory(); 
          StatusPrinter.print(lc); 
       logger.debug("h2 url : " + h2Url);
       try {
     conn = DriverManager.getConnection(h2Url, "sa", "sa");
    } catch (SQLException e) {
     e.printStackTrace();
    }
    logger.debug("h2 database started in embedded mode");
          sce.getServletContext().setAttribute("connection", conn);
      }
  </code></pre>
  
  <p>then I try to use dbvisualizer to connect to h2 using following url :</p>
  
  <pre><code>jdbc:h2:tcp://localhost/~/cdb
  </code></pre>
  
  <p>but get these error messages:</p>
  
  <pre><code>An error occurred while establishing the connection:
     Type: org.h2.jdbc.JdbcSQLException   Error Code: 90067   SQL State: 90067
  Message:
     Connection is broken: "Connection refused: connect" [90067-148]
  </code></pre>
  
  <p>I tried to replace localhost with "172.17.33.181:58524" (I found it in cdb.lock.db)
  reconnect with user "sa" password "sa" ,then server response changed to :
  wrong username or password !</p>