<?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[Connecting to MySQL database with Python]]></title><description><![CDATA[<p dir="auto">I'm looking to make a naming change to approximately 600 datapoints. I wish to trim the names down that were imported and the easiest way that I know how is to use a Python script. Where would I find the mysql database connection configuration for Mango Enterprise.</p>
]]></description><link>https://forum.mango-os.com/topic/3407/connecting-to-mysql-database-with-python</link><generator>RSS for Node</generator><lastBuildDate>Mon, 09 Mar 2026 08:53:17 GMT</lastBuildDate><atom:link href="https://forum.mango-os.com/topic/3407.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 12 Apr 2018 11:11:55 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Connecting to MySQL database with Python on Thu, 12 Apr 2018 22:08:47 GMT]]></title><description><![CDATA[<p dir="auto">You can find the connection details for your Mango instance in the Mango/overrides/properties/env.properties or Mango/classes/env.properties files. By default Mango uses the H2 database in embedded mode which would only allow another connection if Mango was stopped. I'm not sure if there is a nice library to connect Python to H2. It's assuredly easier with MySQL.</p>
<p dir="auto">Usually I do the python work on a JSON export, because JSON is very easy to work with.</p>
<p dir="auto">You can also use the /sqlConsole.shtm page if you are an SQL wizard.</p>
<p dir="auto">Script environments in Mango have a JsonEmport script utility that can import json and make this kind of modification.</p>
<p dir="auto">Have you checked out the bulk data point edit page in the new UI?</p>
]]></description><link>https://forum.mango-os.com/post/18009</link><guid isPermaLink="true">https://forum.mango-os.com/post/18009</guid><dc:creator><![CDATA[phildunlap]]></dc:creator><pubDate>Thu, 12 Apr 2018 22:08:47 GMT</pubDate></item></channel></rss>