<?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[SQL DataSource]]></title><description><![CDATA[<p dir="auto"><img src="https://camo.nodebb.org/361d30ee8ff2fd700865e8eb4287fb6707fd1c27?url=https%3A%2F%2Fi.imgur.com%2FGRFZyNn.jpg" alt="0_1521554428728_erroreSQL.JPG" class=" img-fluid img-markdown" /><br />
Hi guys,<br />
I have a problem with creating an SQL datasource. I added the parameters and this error appears to me.<br />
In addition, the icons highlighted once clicked, start flashing indefinitely.<br />
Maybe I put the wrong connectionstring? Could someone summarize a guide for creating this kind of datasource? (I read other posts about it before writing here )<br />
Thank you in advance</p>
]]></description><link>https://forum.mango-os.com/topic/3364/sql-datasource</link><generator>RSS for Node</generator><lastBuildDate>Sat, 08 Aug 2026 04:11:37 GMT</lastBuildDate><atom:link href="https://forum.mango-os.com/topic/3364.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 20 Mar 2018 14:08:21 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to SQL DataSource on Wed, 21 Mar 2018 14:18:22 GMT]]></title><description><![CDATA[<p dir="auto">thanks <a class="plugin-mentions-user plugin-mentions-a" href="/user/phildunlap" aria-label="Profile: phildunlap">@<bdi>phildunlap</bdi></a> ;)</p>
]]></description><link>https://forum.mango-os.com/post/17808</link><guid isPermaLink="true">https://forum.mango-os.com/post/17808</guid><dc:creator><![CDATA[pierjsap]]></dc:creator><pubDate>Wed, 21 Mar 2018 14:18:22 GMT</pubDate></item><item><title><![CDATA[Reply to SQL DataSource on Tue, 20 Mar 2018 19:23:46 GMT]]></title><description><![CDATA[<p dir="auto">Hi pierjsap,</p>
<p dir="auto">The H2 database is configured to run as an embedded database and though you can enable the web console for human interaction with the DB while Mango is running (use the <code>db.web.start</code> property in your env.properties), I don't think it's serving database connections, so no.</p>
<p dir="auto">It probably is possible to make happen, but it may involve performance compromises with the embedded mode of the database.</p>
<p dir="auto">I would advise converting your system to use MySQL if you intend to have other clients for the database server directly (as opposed to querying Mango through the UI or API)</p>
]]></description><link>https://forum.mango-os.com/post/17802</link><guid isPermaLink="true">https://forum.mango-os.com/post/17802</guid><dc:creator><![CDATA[phildunlap]]></dc:creator><pubDate>Tue, 20 Mar 2018 19:23:46 GMT</pubDate></item><item><title><![CDATA[Reply to SQL DataSource on Tue, 20 Mar 2018 16:31:06 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/phildunlap" aria-label="Profile: phildunlap">@<bdi>phildunlap</bdi></a> <img src="https://camo.nodebb.org/097e26ad2002d5ca1152fe3ae6f8c6d36e636b62?url=https%3A%2F%2Fi.imgur.com%2FwBtQdVK.jpg" alt="0_1521563397499_erroreSQL.JPG" class=" img-fluid img-markdown" /></p>
<p dir="auto">Now it works, thanks.<br />
But I insert the absolute path of the file system. I would be interested to know if I can query the DB on localhost or from an external server.</p>
]]></description><link>https://forum.mango-os.com/post/17801</link><guid isPermaLink="true">https://forum.mango-os.com/post/17801</guid><dc:creator><![CDATA[pierjsap]]></dc:creator><pubDate>Tue, 20 Mar 2018 16:31:06 GMT</pubDate></item><item><title><![CDATA[Reply to SQL DataSource on Tue, 20 Mar 2018 15:11:44 GMT]]></title><description><![CDATA[<p dir="auto">Hi pierjsap,</p>
<p dir="auto">I would guess the icon flashing was the timeout for the connection and took more waiting or there was an error in the page you could see in your developer tools.</p>
<p dir="auto">My guess from the configuration you've posted is that you need to have the MySQL port in the connection string, and if you're using the default MySQL port, that should be,</p>
<p dir="auto"><code>jdbc:mysql://localhost:3306/specificDatabase</code></p>
<p dir="auto">I can guess from your select statement that you intend to be getting data out of Mango's database. Are you using MySQL (where H2 would be the default database)? You can find the appropriate connection string for your database type in your env.properties file, simply replace <code>${ma.home}</code> with you <code>/path/to/Mango</code></p>
<p dir="auto">Try the settings (if you are trying to query the default H2 database),</p>
<pre><code>Driver class: org.h2.Driver //this is in the contextual help
Connection string: /path/to/Mango/databases/mah2
Username:
Password:
</code></pre>
]]></description><link>https://forum.mango-os.com/post/17796</link><guid isPermaLink="true">https://forum.mango-os.com/post/17796</guid><dc:creator><![CDATA[phildunlap]]></dc:creator><pubDate>Tue, 20 Mar 2018 15:11:44 GMT</pubDate></item></channel></rss>