jdbc:h2:/dbPath/dbName;AUTO_SERVER=TRUE;AUTO_SERVER_PORT=60031

60031 is the port I mapped to remote h2 database over SSH (port number in 
dbName.lock.db file).

I think this still connects to a local database on my own machine. 
Something is missing here, I'm getting something wrong.

On Monday, 1 December 2014 14:35:41 UTC+2, ArchangelAurora wrote:
>
> Is there a way to connect to an H2 database, which is running in automatic 
> mixed mode (AUTO_SERVER=TRUE) inside a web application, from another 
> machine over SSH tunnel?
>
> Or do I have to use client-server mode and then tunnel, like I would with 
> MySQL server etc.?
>

-- 
You received this message because you are subscribed to the Google Groups "H2 
Database" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/h2-database.
For more options, visit https://groups.google.com/d/optout.

Reply via email to