<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[H2 database]]></title><description><![CDATA[<p dir="auto">How do I go about running the h2-console on a laptop and connect to the database on a server?<br />
Mango and the db are on the server. Do I need to install the h2-console on both?</p>
]]></description><link>https://forum.mango-os.com/topic/2385/h2-database</link><generator>RSS for Node</generator><lastBuildDate>Sun, 09 Aug 2026 13:23:53 GMT</lastBuildDate><atom:link href="https://forum.mango-os.com/topic/2385.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 02 Aug 2016 20:32:16 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to H2 database on Fri, 05 Aug 2016 13:21:41 GMT]]></title><description><![CDATA[<p dir="auto">. Phil  The trouble it turns out was the h2-*.jar file being on my computer not on the server. After I moved it the console connected with no errors and I can see all the data points from my computer.  Again thanks for all your help.</p>
]]></description><link>https://forum.mango-os.com/post/12338</link><guid isPermaLink="true">https://forum.mango-os.com/post/12338</guid><dc:creator><![CDATA[LarryE]]></dc:creator><pubDate>Fri, 05 Aug 2016 13:21:41 GMT</pubDate></item><item><title><![CDATA[Reply to H2 database on Wed, 03 Aug 2016 19:41:39 GMT]]></title><description><![CDATA[<p dir="auto">You need to get the connection string right; it has a somewhat pesky behavior of creating an empty database in the location specified by the connection string, which is probably what you're experiencing. Running h2-web-console the server with the database, you'll navigating in your browser to http://[ip]:[port defined in h2-web-console script]/ .</p>
<p dir="auto">Your connection string should be jdbc:h2:/path/to/Mango/databases/mah2</p>
]]></description><link>https://forum.mango-os.com/post/12306</link><guid isPermaLink="true">https://forum.mango-os.com/post/12306</guid><dc:creator><![CDATA[phildunlap]]></dc:creator><pubDate>Wed, 03 Aug 2016 19:41:39 GMT</pubDate></item><item><title><![CDATA[Reply to H2 database on Wed, 03 Aug 2016 19:25:30 GMT]]></title><description><![CDATA[<p dir="auto">I am having a problem with the h2 db. Mango is running on a server and when I run the h2-console on the server it show that it connects to the db, but the db is an empty one just like the test db. When I saw this I logged on to mango and started the SQL console and ran the get tables and it show the current database tables? I ran the (select * from DATAPOINTS) query and all the data points are there.<br />
But when I try to connect from the h2 console with (jdbc:h2:tcp://192.168.1.10/IT Dept Installs/Mango Automation 2.7.10 Enterprise Demo/databases/mah2.h2.db) Path and file It show a new test type table structure. Not sure how to connect to the real db????????</p>
]]></description><link>https://forum.mango-os.com/post/12304</link><guid isPermaLink="true">https://forum.mango-os.com/post/12304</guid><dc:creator><![CDATA[LarryE]]></dc:creator><pubDate>Wed, 03 Aug 2016 19:25:30 GMT</pubDate></item><item><title><![CDATA[Reply to H2 database on Tue, 02 Aug 2016 21:02:37 GMT]]></title><description><![CDATA[<p dir="auto">Hi Larry,</p>
<p dir="auto">The easiest way is to launch the h2-web-console script in Mango/bin/ from the device that has the database, and add -webAllowOthers if you will be accessing it from a different machine (which you will be, it sounds).</p>
<p dir="auto">I don't believe there is a means to connect a web console started on your machine to the remote database.</p>
<p dir="auto">Here's a help document relevant to H2 and using the web console: <a href="http://help.infiniteautomation.com/support/solutions/articles/14000022661-about-the-h2-database" rel="nofollow ugc">http://help.infiniteautomation.com/support/solutions/articles/14000022661-about-the-h2-database</a></p>
]]></description><link>https://forum.mango-os.com/post/12277</link><guid isPermaLink="true">https://forum.mango-os.com/post/12277</guid><dc:creator><![CDATA[phildunlap]]></dc:creator><pubDate>Tue, 02 Aug 2016 21:02:37 GMT</pubDate></item></channel></rss>