To follow up on this I got a related question: Say I initialize H2 with the auto_server=true setting and the path to the database is "/opt/h2/mydb"
So, how do we then connect to this database from a remove machine? Is it with: jdbc:h2:tcp://ip:port/opt/h2/mydb Also, can we set the port manually? Since H2 is started on a remote machine with a firewall, we need to configure the port. Thanks. Kind Regards, Nitai On Mon, Jan 18, 2010 at 7:06 AM, Thomas Mueller <[email protected]> wrote: > When using the server mode (sometimes called remote mode or > client/server mode), an application opens a database remotely using > the JDBC or ODBC API. A server needs to be started within the same or > another virtual machine, or on another computer. Many applications can > connect to the same database at the same time, by connecting to this > server. Internally, the server process opens the database(s) in > embedded mode. -- See for yourself how easy it is to manage files today. Join the revolution! Razuna SaaS On-Demand - Hosted Digital Asset Management Solution http://www.razuna.com/ Razuna - Open Source Digital Asset Management http://www.razuna.org/ Follow us on Twitter http://twitter.com/razunahq
-- You received this message because you are subscribed to the Google Groups "H2 Database" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/h2-database?hl=en.
