<?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[how to build a New Data Source from SQL]]></title><description><![CDATA[<pre><code>//your code here
{
   "dataSources":[
      {
         "xid":"DS_64b30a4f-d8c2-4b8a-9978-1b9c085893b6",
         "name":"test_SQL",
         "enabled":false,
         "type":"SQL",
         "alarmLevels":{
            "POLL_ABORTED":"URGENT",
            "STATEMENT_EXCEPTION":"URGENT",
            "DATA_SOURCE_EXCEPTION":"URGENT"
         },
         "purgeType":"YEARS",
         "updatePeriodType":"SECONDS",
         "connectionUrl":"192.168.61.191:3306",
         "driverClassname":"MySQL",
         "password":"1234",
         "rowBasedQuery":false,
         "selectStatement":"select * from biao;",
         "updatePeriods":5,
         "username":"root",
         "editPermission":"",
         "purgeOverride":false,
         "purgePeriod":1
      }
   ]
}
</code></pre>
<p dir="auto">It's not clear what "driverClassname" means.<br />
The database I use is MySQL, what should i type in ? "com.mysql.jdbc.Driver"(same error below)?</p>
<p dir="auto">when I click "SQL Statement Testing", It shows an error: class java.lang.ClassNotFoundException: MySQL</p>
]]></description><link>https://forum.mango-os.com/topic/4172/how-to-build-a-new-data-source-from-sql</link><generator>RSS for Node</generator><lastBuildDate>Tue, 12 May 2026 18:32:05 GMT</lastBuildDate><atom:link href="https://forum.mango-os.com/topic/4172.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 22 Apr 2019 07:47:08 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to how to build a New Data Source from SQL on Tue, 23 Apr 2019 07:39:48 GMT]]></title><description><![CDATA[<p dir="auto">I was not so clear with this thing, but it do solved!</p>
<p dir="auto">here is my solution:<br />
"connectionUrl":"jdbc:mysql://localhost:3306/test",<br />
"driverClassname":"com.mysql.jdbc.Driver",</p>
<p dir="auto">Note: replace "localhost" "3306" "test" if needed.</p>
]]></description><link>https://forum.mango-os.com/post/21929</link><guid isPermaLink="true">https://forum.mango-os.com/post/21929</guid><dc:creator><![CDATA[cuihe]]></dc:creator><pubDate>Tue, 23 Apr 2019 07:39:48 GMT</pubDate></item><item><title><![CDATA[Reply to how to build a New Data Source from SQL on Mon, 22 Apr 2019 13:38:56 GMT]]></title><description><![CDATA[<p dir="auto">Hi cuihe,</p>
<p dir="auto">You should see mysql-connector.jar (with a version number) among the JAR files in the Mango/lib/ directory. It appears you have types the driver classpath correctly here, but can you verify that that's what was in the data source's drive input, <code>com.mysql.jdbc.Driver</code> and that your hit save before trying the utility?</p>
<p dir="auto">The contextual help in the ? in the old UI next to the data source name or in the new UI in the top right corner does provide same.</p>
]]></description><link>https://forum.mango-os.com/post/21917</link><guid isPermaLink="true">https://forum.mango-os.com/post/21917</guid><dc:creator><![CDATA[phildunlap]]></dc:creator><pubDate>Mon, 22 Apr 2019 13:38:56 GMT</pubDate></item></channel></rss>