<?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[MySQL Data source setup]]></title><description><![CDATA[<p dir="auto">Hi I am trying to setup MySQL data base for reading and writing data point values.<br />
So far I found the method to write data in to the MySQL data base (using "watch list") but I can not find a way to read data into "watch list".<br />
when I press the statement test button ("Execute" button)  in SQL properties page I  can see my data.  Please help me to configure this .</p>
<p dir="auto">Summary:<br />
what I need is, using a Gambas3 program I will update or read a table in MySQL database (control or monitoring points). I want to use the same database and same data points in mango Scada to read or control</p>
<p dir="auto">Thank you all</p>
]]></description><link>https://forum.mango-os.com/topic/1883/mysql-data-source-setup</link><generator>RSS for Node</generator><lastBuildDate>Sun, 12 Apr 2026 23:36:48 GMT</lastBuildDate><atom:link href="https://forum.mango-os.com/topic/1883.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 10 May 2015 15:20:59 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to MySQL Data source setup on Mon, 11 May 2015 06:28:08 GMT]]></title><description><![CDATA[<p dir="auto">Great it did work !!</p>
<p dir="auto">much appreciate the advise.<br />
I think, I started using Mango M2M (the great Scada product)  around 2010. My gratitude goes to the developers.</p>
<p dir="auto">When I installed Mango on Windows it did work like a charm, but every time I tried installing on Ubuntu gave me a headache. finally I did manged to install on a Ubuntu server (I don't want to allocate more resources just for running a server)</p>
<p dir="auto">The reason I want to install Mango on Ubuntu desktop version is the Gambas3 is another opensource SDK.</p>
<p dir="auto">when I did some google research I found that ScadaBR which is a derivative from Mango M2M, but easy to install, and I can install it on Ubuntu desktop.</p>
<p dir="auto">What soever I still love Mango M2M. much appreciate that if you can direct me to sort out the Mango Ubuntu installtion issue. I know this Forum is not for discussing installation issues.</p>
<p dir="auto">Anyway thank you once  again for helping me<br />
Have a great day !!</p>
]]></description><link>https://forum.mango-os.com/post/9988</link><guid isPermaLink="true">https://forum.mango-os.com/post/9988</guid><dc:creator><![CDATA[pradeepdissa]]></dc:creator><pubDate>Mon, 11 May 2015 06:28:08 GMT</pubDate></item><item><title><![CDATA[Reply to MySQL Data source setup on Mon, 11 May 2015 01:35:09 GMT]]></title><description><![CDATA[<p dir="auto">This forum is for Mango and not scadaBR which is a derivative of a much older version of Mango.  That said I think your problem is that for the row based query to work you need to have only three columns.  Try just selecting data_point, data_value and ts from the database so that you don't get the id column.</p>
]]></description><link>https://forum.mango-os.com/post/9987</link><guid isPermaLink="true">https://forum.mango-os.com/post/9987</guid><dc:creator><![CDATA[JoelHaggar]]></dc:creator><pubDate>Mon, 11 May 2015 01:35:09 GMT</pubDate></item><item><title><![CDATA[Reply to MySQL Data source setup on Mon, 11 May 2015 00:28:20 GMT]]></title><description><![CDATA[<p dir="auto">Hi Joel,<br />
thanks for the quick reply</p>
<p dir="auto">I had a look into both documents you mentioned at the beginning.<br />
my requirement is not to have entire mango data base on MYSQL.</p>
<p dir="auto">I want to:</p>
<ol>
<li>setup MYSql data source In data sources. (this step is successful)</li>
</ol>
<p dir="auto"><img src="https://camo.nodebb.org/6f5659efba31a30e2f370c00e66d16de2ecef61d?url=https%3A%2F%2Fi.imgur.com%2FmbpQcKO.jpg" alt="Sql prop.jpg" class=" img-fluid img-markdown" /></p>
<ol start="2">
<li>I can update values into the MYSql database using update statement ,but I don't know that how to read a value from MYSql database into Mango (the statement)</li>
</ol>
<p dir="auto">I tried several ways eg:</p>
<p dir="auto">typing "SELECT ......"  statement inside the update query area (I may be silly     because it self says that "Update statement"</p>
<p dir="auto">without typing anything inside the query area.<br />
nothing is successful. below is what I get</p>
<p dir="auto"><img src="https://camo.nodebb.org/cabaa071fb195170984d67233d1c0a15dd7c8cf1?url=https%3A%2F%2Fi.imgur.com%2FrwzCLzh.jpg" alt="output.jpg" class=" img-fluid img-markdown" /></p>
<p dir="auto">Your advice is highly appreciated</p>
<p dir="auto">Regards.</p>
]]></description><link>https://forum.mango-os.com/post/9986</link><guid isPermaLink="true">https://forum.mango-os.com/post/9986</guid><dc:creator><![CDATA[pradeepdissa]]></dc:creator><pubDate>Mon, 11 May 2015 00:28:20 GMT</pubDate></item><item><title><![CDATA[Reply to MySQL Data source setup on Sun, 10 May 2015 15:27:08 GMT]]></title><description><![CDATA[<p dir="auto">I don't fully understand your question but here is the documentation on the SQL Data Source:<br />
<a href="http://infiniteautomation.com/wiki/doku.php?id=datasources:sql_data_source" rel="nofollow ugc">http://infiniteautomation.com/wiki/doku.php?id=datasources:sql_data_source</a></p>
<p dir="auto">I think what you need to do is to configure data point under this data source.</p>
<p dir="auto">If you want to use the entire Mango database with MySQL see the installation documentation:<br />
<a href="http://infiniteautomation.com/wiki/doku.php?id=installation:configuration#mysql" rel="nofollow ugc">http://infiniteautomation.com/wiki/doku.php?id=installation:configuration#mysql</a></p>
]]></description><link>https://forum.mango-os.com/post/9985</link><guid isPermaLink="true">https://forum.mango-os.com/post/9985</guid><dc:creator><![CDATA[JoelHaggar]]></dc:creator><pubDate>Sun, 10 May 2015 15:27:08 GMT</pubDate></item></channel></rss>