<?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[Converting from Derby to MySQL]]></title><description><![CDATA[<p dir="auto">If your instance of Mango has an installation of MySQL "nearby", you will likely be able to achieve much better overall performance by converting databases.</p>
<p dir="auto">The following is a basic set of instructions for converting from Derby to MySQL. Since 1.6.2, Mango shipped with a conversion utility that automatically will copy your data from Derby to a fresh MySQL schema (and theoretically in the other direction as well, although i'm not personally aware of anyone having done it). Note that one user reported issues when using this utility on a non-standard host, but that attempts have otherwise been successful.</p>
<p dir="auto">If this procedure does not work for you, please report your errors so that others can benefit from the experience.</p>
<ol>
<li>
<p dir="auto">Ensure that your existing Derby instance is up to date with your Mango software. That is, do not download a new version of the software and attempt a conversion without giving Mango a chance to upgrade your existing database. Conversions will only work when source and target are exactly the same version.</p>
</li>
<li>
<p dir="auto">Create a new schema in your MySQL instance and provide a user account with full permissions to it. DO NOT create the Mango tables. Mango likes to do this itself.</p>
</li>
<li>
<p dir="auto">Edit the WEB-INF/classes/env.properties file. You will have existing "db." entries in there that point to the Derby database. Prepend these entries with "convert." They will then look something like this:</p>
</li>
</ol>
<pre><code>convert.db.type=derby
convert.db.url=~/../../bin/mangoDB
convert.db.username=
convert.db.password=

</code></pre>
<p dir="auto">Note that you may only have the "url" entry. This is fine.</p>
<ol start="4">
<li>Add entries that point to your MySQL instance. The following are examples. Modify them to suit your environment.</li>
</ol>
<pre><code>db.type=mysql
db.url=jdbc:mysql://localhost/mango
db.username=mangoUser
db.password=mangoPass
db.pool.maxActive=10
db.pool.maxIdle=10

</code></pre>
<p dir="auto">Check the MySQL documentation for more information on connection URLs if you need help. The last two entries are for connection pooling configuration and are optional. Note that the ordering of these properties in the file is inconsequential.</p>
<ol start="5">
<li>
<p dir="auto">Save the changes.</p>
</li>
<li>
<p dir="auto"><strong>Important</strong>: check your WEB-INF/lib directory for old versions of the MySQL JDBC library. The correct version to have in there is mysql-connector-java-5.1.7-bin.jar. Remove any other versions, such as mysql-connector-java-3.1.8-bin.jar.</p>
</li>
<li>
<p dir="auto">Restart Mango.</p>
</li>
<li>
<p dir="auto">Watch the console messages. You will be given information on the steps and progress of the conversion as it occurs. Depending on the size of your Derby database and the power of your hardware this process could take seconds or hours.</p>
</li>
</ol>
]]></description><link>https://forum.mango-os.com/topic/175/converting-from-derby-to-mysql</link><generator>RSS for Node</generator><lastBuildDate>Sat, 06 Jun 2026 20:18:55 GMT</lastBuildDate><atom:link href="https://forum.mango-os.com/topic/175.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 23 Jun 2009 13:45:10 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Converting from Derby to MySQL on Wed, 28 May 2014 07:32:51 GMT]]></title><description><![CDATA[<p dir="auto">hello all.<br />
I get below messages when I convert derby to mysql, mango 2.2<br />
INFO  2014-05-28 11:22:10,698 (com.serotonin.m2m2.Main.loadModules:399) - Loading module 'BACnet', v2.0.5 by Infinite Automation Software<br />
INFO  2014-05-28 11:22:10,744 (com.serotonin.m2m2.Main.loadModules:399) - Loading module 'dataFile', v1.0.1 by Infinite Automation<br />
INFO  2014-05-28 11:22:10,760 (com.serotonin.m2m2.Main.loadModules:399) - Loading module 'dataImport', v1.3.1 by Infinite Automation Software<br />
INFO  2014-05-28 11:22:10,760 (com.serotonin.m2m2.Main.loadModules:399) - Loading module 'dglux', v1.0.8 by Infinite Automation Software<br />
INFO  2014-05-28 11:22:10,760 (com.serotonin.m2m2.Main.loadModules:399) - Loading module 'dnp3', v1.4.3 by Infinite Automation Software<br />
INFO  2014-05-28 11:22:10,760 (com.serotonin.m2m2.Main.loadModules:399) - Loading module 'galil', v1.4.2 by Infinite Automation Software<br />
INFO  2014-05-28 11:22:10,760 (com.serotonin.m2m2.Main.loadModules:399) - Loading module 'graphicalViews', v1.4.5 by Infinite Automation Software<br />
INFO  2014-05-28 11:22:10,791 (com.serotonin.m2m2.Main.loadModules:399) - Loading module 'http', v1.4.3 by Infinite Automation Software<br />
INFO  2014-05-28 11:22:10,791 (com.serotonin.m2m2.Main.loadModules:399) - Loading module 'internal', v1.4.2 by Infinite Automation Software<br />
INFO  2014-05-28 11:22:10,807 (com.serotonin.m2m2.Main.loadModules:399) - Loading module 'jmxds', v1.4.2 by Infinite Automation Software<br />
INFO  2014-05-28 11:22:10,807 (com.serotonin.m2m2.Main.loadModules:399) - Loading module 'jspViews', v2.0.1 by Infinite Automation Software<br />
INFO  2014-05-28 11:22:10,823 (com.serotonin.m2m2.Main.loadModules:399) - Loading module 'log4JReset', v1.0.3 by Infinite Automation Software<br />
INFO  2014-05-28 11:22:10,838 (com.serotonin.m2m2.Main.loadModules:399) - Loading module 'maintenanceEvents', v1.4.4 by Infinite Automation Software<br />
INFO  2014-05-28 11:22:10,838 (com.serotonin.m2m2.Main.loadModules:399) - Loading module 'mbus', v1.0.2 by Infinite Automation Software<br />
INFO  2014-05-28 11:22:10,838 (com.serotonin.m2m2.Main.loadModules:399) - Loading module 'meta', v2.0.1 by Infinite Automation Software<br />
INFO  2014-05-28 11:22:10,854 (com.serotonin.m2m2.Main.loadModules:399) - Loading module 'modbus', v1.4.5 by Infinite Automation Software<br />
INFO  2014-05-28 11:22:10,854 (com.serotonin.m2m2.Main.loadModules:399) - Loading module 'modbusPublisher', v1.2.1 by Infinite Automation Software<br />
INFO  2014-05-28 11:22:10,869 (com.serotonin.m2m2.Main.loadModules:399) - Loading module 'onewire', v1.4.2 by Infinite Automation Software<br />
INFO  2014-05-28 11:22:10,869 (com.serotonin.m2m2.Main.loadModules:399) - Loading module 'opcda', v1.5.3 by Infinite Automation Software<br />
INFO  2014-05-28 11:22:10,869 (com.serotonin.m2m2.Main.loadModules:399) - Loading module 'pachube', v1.4.5 by Infinite Automation Software<br />
INFO  2014-05-28 11:22:10,885 (com.serotonin.m2m2.Main.loadModules:399) - Loading module 'persistent', v1.4.3 by Infinite Automation Software<br />
INFO  2014-05-28 11:22:10,885 (com.serotonin.m2m2.Main.loadModules:399) - Loading module 'pointLinks', v1.4.2 by Infinite Automation Software<br />
INFO  2014-05-28 11:22:10,901 (com.serotonin.m2m2.Main.loadModules:399) - Loading module 'pop3', v1.4.2 by Infinite Automation Software<br />
INFO  2014-05-28 11:22:10,916 (com.serotonin.m2m2.Main.loadModules:399) - Loading module 'reports', v2.0.3 by Infinite Automation Software<br />
INFO  2014-05-28 11:22:10,916 (com.serotonin.m2m2.Main.loadModules:399) - Loading module 'scheduledEvents', v1.4.3 by (unknown vendor)<br />
INFO  2014-05-28 11:22:10,916 (com.serotonin.m2m2.Main.loadModules:399) - Loading module 'scripting', v1.0.4 by Infinite Automation Software<br />
INFO  2014-05-28 11:22:10,916 (com.serotonin.m2m2.Main.loadModules:399) - Loading module 'serial', v1.1.0 by Infinite Automation<br />
INFO  2014-05-28 11:22:10,916 (com.serotonin.m2m2.Main.loadModules:399) - Loading module 'snmp', v1.4.3 by Infinite Automation Software<br />
INFO  2014-05-28 11:22:10,932 (com.serotonin.m2m2.Main.loadModules:399) - Loading module 'sqlConsole', v1.4.2 by Infinite Automation Software<br />
INFO  2014-05-28 11:22:10,932 (com.serotonin.m2m2.Main.loadModules:399) - Loading module 'sqlds', v1.5.2 by Infinite Automation Software<br />
INFO  2014-05-28 11:22:10,948 (com.serotonin.m2m2.Main.loadModules:399) - Loading module 'sstGlobalScripts', v1.4.2 by Infinite Automation Software<br />
INFO  2014-05-28 11:22:10,948 (com.serotonin.m2m2.Main.loadModules:399) - Loading module 'sstGraphics', v1.0.3 by Infinite Automation Software<br />
INFO  2014-05-28 11:22:10,948 (com.serotonin.m2m2.Main.loadModules:399) - Loading module 'sstTheme', v1.0.3 by Infinite Automation Software<br />
INFO  2014-05-28 11:22:10,963 (com.serotonin.m2m2.Main.loadModules:399) - Loading module 'templateConfig', v1.0.2 by Infinite Automation Software<br />
INFO  2014-05-28 11:22:10,963 (com.serotonin.m2m2.Main.loadModules:399) - Loading module 'virtualDS', v1.4.2 by Infinite Automation Software<br />
INFO  2014-05-28 11:22:10,963 (com.serotonin.m2m2.Main.loadModules:399) - Loading module 'vmstat', v1.4.3 by Infinite Automation Software<br />
INFO  2014-05-28 11:22:10,979 (com.serotonin.m2m2.Main.loadModules:399) - Loading module 'watchlists', v1.5.3 by Infinite Automation Software<br />
INFO  2014-05-28 11:22:12,213 (com.serotonin.m2m2.web.M2M2ContextListener.contextInitialized:31) - Mango Automation context starting<br />
INFO  2014-05-28 11:22:12,213 (com.serotonin.m2m2.web.M2M2ContextListener.contextInitialized:39) - Mango Automation context started<br />
INFO  2014-05-28 11:22:12,854 (org.springframework.web.servlet.handler.AbstractUrlHandlerMapping.registerHandler:411) - Mapped URL path [/users.shtm] onto handler 'usersController'<br />
INFO  2014-05-28 11:22:12,885 (org.springframework.web.servlet.handler.AbstractUrlHandlerMapping.registerHandler:411) - Mapped URL path [/data_source.shtm] onto handler 'dataSourceController'<br />
INFO  2014-05-28 11:22:12,994 (org.springframework.web.servlet.handler.AbstractUrlHandlerMapping.registerHandler:411) - Mapped URL path [/publisher_edit.shtm] onto handler 'publisherEditController'<br />
INFO  2014-05-28 11:22:13,057 (org.springframework.web.servlet.handler.AbstractUrlHandlerMapping.registerHandler:411) - Mapped URL path [/login.htm] onto handler 'loginController'<br />
INFO  2014-05-28 11:22:13,057 (org.springframework.web.servlet.handler.AbstractUrlHandlerMapping.registerHandler:411) - Mapped URL path [/shutdown.htm] onto handler 'shutdownController'<br />
INFO  2014-05-28 11:22:13,088 (org.springframework.web.servlet.handler.AbstractUrlHandlerMapping.registerHandler:411) - Mapped URL path [/data_source_properties.shtm] onto handler 'dataSourcePropertiesController'<br />
INFO  2014-05-28 11:22:13,088 (org.springframework.web.servlet.handler.AbstractUrlHandlerMapping.registerHandler:411) - Mapped URL path [/startup.htm] onto handler 'startupController'<br />
INFO  2014-05-28 11:22:13,119 (org.springframework.web.servlet.handler.AbstractUrlHandlerMapping.registerHandler:411) - Mapped URL path [/webcam_live_feed.htm] onto handler 'webcamLiveFeedController'<br />
INFO  2014-05-28 11:22:13,135 (org.springframework.web.servlet.handler.AbstractUrlHandlerMapping.registerHandler:411) - Mapped URL path [/unauthorized.htm] onto handler 'unauthorizedController'<br />
INFO  2014-05-28 11:22:13,135 (org.springframework.web.servlet.handler.AbstractUrlHandlerMapping.registerHandler:411) - Mapped URL path [/data_point_edit.shtm] onto handler 'dataPointEditController'<br />
INFO  2014-05-28 11:22:13,166 (org.springframework.web.servlet.handler.AbstractUrlHandlerMapping.registerHandler:411) - Mapped URL path [/data_source_properties_error.shtm] onto handler 'dataSourceErrorController'<br />
INFO  2014-05-28 11:22:13,182 (org.springframework.web.servlet.handler.AbstractUrlHandlerMapping.registerHandler:411) - Mapped URL path [/data_source_edit.shtm] onto handler 'dataSourceEditController'<br />
INFO  2014-05-28 11:22:13,182 (org.springframework.web.servlet.handler.AbstractUrlHandlerMapping.registerHandler:411) - Mapped URL path [/mobile/users.shtm] onto handler 'usersController'<br />
INFO  2014-05-28 11:22:13,244 (org.springframework.web.servlet.handler.AbstractUrlHandlerMapping.registerHandler:411) - Mapped URL path [/mobile.shtm] onto handler 'mobileController'<br />
INFO  2014-05-28 11:22:13,244 (org.springframework.web.servlet.handler.AbstractUrlHandlerMapping.registerHandler:411) - Mapped URL path [/help.shtm] onto handler 'helpController'<br />
INFO  2014-05-28 11:22:13,244 (org.springframework.web.servlet.handler.AbstractUrlHandlerMapping.registerHandler:411) - Mapped URL path [/logout.htm] onto handler 'logoutController'<br />
INFO  2014-05-28 11:22:13,869 (com.serotonin.m2m2.Lifecycle.lic:400) - Checking license...<br />
INFO  2014-05-28 11:22:13,869 (com.serotonin.m2m2.Lifecycle.loadLic:514) - License file not found<br />
INFO  2014-05-28 11:22:13,963 (com.serotonin.m2m2.db.BasePooledProxy.initializeImpl:36) - Initializing pooled connection manager<br />
INFO  2014-05-28 11:22:14,682 (com.serotonin.m2m2.db.upgrade.DBUpgrade.checkUpgrade:36) - Starting instance with core version 2.2.2, db 9<br />
INFO  2014-05-28 11:22:15,635 (com.serotonin.m2m2.Lifecycle.configureDwr:813) - Duplicate definition of DWR class ignored: com.serotonin.m2m2.http.dwr.HttpDataSourceDwr<br />
INFO  2014-05-28 11:22:15,651 (com.serotonin.m2m2.Lifecycle.configureDwr:813) - Duplicate definition of DWR class ignored: com.serotonin.m2m2.modbus.dwr.ModbusEditDwr<br />
INFO  2014-05-28 11:22:15,651 (com.serotonin.m2m2.Lifecycle.configureDwr:813) - Duplicate definition of DWR class ignored: com.serotonin.m2m2.http.dwr.HttpDataSourceDwr<br />
INFO  2014-05-28 11:22:15,682 (com.serotonin.m2m2.Lifecycle.configureDwr:813) - Duplicate definition of DWR class ignored: com.serotonin.m2m2.http.dwr.HttpDataSourceDwr<br />
INFO  2014-05-28 11:22:15,682 (com.serotonin.m2m2.Lifecycle.configureDwr:813) - Duplicate definition of DWR class ignored: br.org.scadabr.dnp3.dwr.DnpEditDwr<br />
INFO  2014-05-28 11:22:15,729 (org.springframework.web.servlet.handler.AbstractUrlHandlerMapping.registerHandler:411) - Mapped URL path [/data_point_details.shtm] onto handler of type [class com.serotonin.m2m2.web.mvc.UrlHandlerController]<br />
INFO  2014-05-28 11:22:15,729 (org.springframework.web.servlet.handler.AbstractUrlHandlerMapping.registerHandler:411) - Mapped URL path [/events.shtm] onto handler of type [class com.serotonin.m2m2.web.mvc.UrlHandlerController]<br />
INFO  2014-05-28 11:22:15,729 (org.springframework.web.servlet.handler.AbstractUrlHandlerMapping.registerHandler:411) - Mapped URL path [/pending_alarms.shtm] onto handler of type [class com.serotonin.m2m2.web.mvc.UrlHandlerController]<br />
INFO  2014-05-28 11:22:15,729 (org.springframework.web.servlet.handler.AbstractUrlHandlerMapping.registerHandler:411) - Mapped URL path [/event_handlers.shtm] onto handler of type [class com.serotonin.m2m2.web.mvc.UrlHandlerController]<br />
INFO  2014-05-28 11:22:15,729 (org.springframework.web.servlet.handler.AbstractUrlHandlerMapping.registerHandler:411) - Mapped URL path [/data_sources.shtm] onto handler of type [class com.serotonin.m2m2.web.mvc.UrlHandlerController]<br />
INFO  2014-05-28 11:22:15,729 (org.springframework.web.servlet.handler.AbstractUrlHandlerMapping.registerHandler:411) - Mapped URL path [/point_hierarchy.shtm] onto handler of type [class com.serotonin.m2m2.web.mvc.UrlHandlerController]<br />
INFO  2014-05-28 11:22:15,744 (org.springframework.web.servlet.handler.AbstractUrlHandlerMapping.registerHandler:411) - Mapped URL path [/mailing_lists.shtm] onto handler of type [class com.serotonin.m2m2.web.mvc.UrlHandlerController]<br />
INFO  2014-05-28 11:22:15,744 (org.springframework.web.servlet.handler.AbstractUrlHandlerMapping.registerHandler:411) - Mapped URL path [/publishers.shtm] onto handler of type [class com.serotonin.m2m2.web.mvc.UrlHandlerController]<br />
INFO  2014-05-28 11:22:15,744 (org.springframework.web.servlet.handler.AbstractUrlHandlerMapping.registerHandler:411) - Mapped URL path [/system_settings.shtm] onto handler of type [class com.serotonin.m2m2.web.mvc.UrlHandlerController]<br />
INFO  2014-05-28 11:22:15,744 (org.springframework.web.servlet.handler.AbstractUrlHandlerMapping.registerHandler:411) - Mapped URL path [/modules.shtm] onto handler of type [class com.serotonin.m2m2.web.mvc.UrlHandlerController]<br />
INFO  2014-05-28 11:22:15,744 (org.springframework.web.servlet.handler.AbstractUrlHandlerMapping.registerHandler:411) - Mapped URL path [/emport.shtm] onto handler of type [class com.serotonin.m2m2.web.mvc.UrlHandlerController]<br />
INFO  2014-05-28 11:22:15,744 (org.springframework.web.servlet.handler.AbstractUrlHandlerMapping.registerHandler:411) - Mapped URL path [/upload.shtm] onto handler of type [class com.serotonin.m2m2.web.mvc.UrlHandlerController]<br />
INFO  2014-05-28 11:22:15,744 (org.springframework.web.servlet.handler.AbstractUrlHandlerMapping.registerHandler:411) - Mapped URL path [/download.shtm] onto handler of type [class com.serotonin.m2m2.web.mvc.UrlHandlerController]<br />
INFO  2014-05-28 11:22:15,744 (org.springframework.web.servlet.handler.AbstractUrlHandlerMapping.registerHandler:411) - Mapped URL path [/mobile_data_point_details.shtm] onto handler of type [class com.serotonin.m2m2.web.mvc.UrlHandlerController]<br />
INFO  2014-05-28 11:22:15,744 (org.springframework.web.servlet.handler.AbstractUrlHandlerMapping.registerHandler:411) - Mapped URL path [/templateConfig.shtm] onto handler of type [class com.serotonin.m2m2.web.mvc.UrlHandlerController]<br />
INFO  2014-05-28 11:22:15,744 (org.springframework.web.servlet.handler.AbstractUrlHandlerMapping.registerHandler:411) - Mapped URL path [/dataImport.shtm] onto handler of type [class com.serotonin.m2m2.web.mvc.UrlHandlerController]<br />
INFO  2014-05-28 11:22:15,744 (org.springframework.web.servlet.handler.AbstractUrlHandlerMapping.registerHandler:411) - Mapped URL path [/dglux.htm] onto handler of type [class com.serotonin.m2m2.web.mvc.UrlHandlerController]<br />
INFO  2014-05-28 11:22:15,744 (org.springframework.web.servlet.handler.AbstractUrlHandlerMapping.registerHandler:411) - Mapped URL path [/dglux/login.htm] onto handler of type [class com.serotonin.m2m2.web.mvc.UrlHandlerController]<br />
INFO  2014-05-28 11:22:15,760 (org.springframework.web.servlet.handler.AbstractUrlHandlerMapping.registerHandler:411) - Mapped URL path [/views.shtm] onto handler of type [class com.serotonin.m2m2.web.mvc.UrlHandlerController]<br />
INFO  2014-05-28 11:22:15,760 (org.springframework.web.servlet.handler.AbstractUrlHandlerMapping.registerHandler:411) - Mapped URL path [/public_view.htm] onto handler of type [class com.serotonin.m2m2.web.mvc.UrlHandlerController]<br />
INFO  2014-05-28 11:22:15,760 (org.springframework.web.servlet.handler.AbstractUrlHandlerMapping.registerHandler:411) - Mapped URL path [/view_edit.shtm] onto handler of type [class com.serotonin.m2m2.web.mvc.UrlHandlerController]<br />
INFO  2014-05-28 11:22:15,760 (org.springframework.web.servlet.handler.AbstractUrlHandlerMapping.registerHandler:411) - Mapped URL path [/maintenance_events.shtm] onto handler of type [class com.serotonin.m2m2.web.mvc.UrlHandlerController]<br />
INFO  2014-05-28 11:22:15,760 (org.springframework.web.servlet.handler.AbstractUrlHandlerMapping.registerHandler:411) - Mapped URL path [/point_links.shtm] onto handler of type [class com.serotonin.m2m2.web.mvc.UrlHandlerController]<br />
INFO  2014-05-28 11:22:15,760 (org.springframework.web.servlet.handler.AbstractUrlHandlerMapping.registerHandler:411) - Mapped URL path [/reportChart.shtm] onto handler of type [class com.serotonin.m2m2.web.mvc.UrlHandlerController]<br />
INFO  2014-05-28 11:22:15,760 (org.springframework.web.servlet.handler.AbstractUrlHandlerMapping.registerHandler:411) - Mapped URL path [/reports.shtm] onto handler of type [class com.serotonin.m2m2.web.mvc.UrlHandlerController]<br />
INFO  2014-05-28 11:22:15,760 (org.springframework.web.servlet.handler.AbstractUrlHandlerMapping.registerHandler:411) - Mapped URL path [/scheduled_events.shtm] onto handler of type [class com.serotonin.m2m2.web.mvc.UrlHandlerController]<br />
INFO  2014-05-28 11:22:15,776 (org.springframework.web.servlet.handler.AbstractUrlHandlerMapping.registerHandler:411) - Mapped URL path [/sqlConsole.shtm] onto handler of type [class com.serotonin.m2m2.web.mvc.UrlHandlerController]<br />
INFO  2014-05-28 11:22:15,776 (org.springframework.web.servlet.handler.AbstractUrlHandlerMapping.registerHandler:411) - Mapped URL path [/globalScripts.shtm] onto handler of type [class com.serotonin.m2m2.web.mvc.UrlHandlerController]<br />
INFO  2014-05-28 11:22:15,776 (org.springframework.web.servlet.handler.AbstractUrlHandlerMapping.registerHandler:411) - Mapped URL path [/watch_list.shtm] onto handler of type [class com.serotonin.m2m2.web.mvc.UrlHandlerController]<br />
INFO  2014-05-28 11:22:15,776 (org.springframework.web.servlet.handler.AbstractUrlHandlerMapping.registerHandler:411) - Mapped URL path [/mobile/login.htm] onto handler of type [class com.serotonin.m2m2.web.mvc.UrlHandlerController]<br />
INFO  2014-05-28 11:22:15,776 (org.springframework.web.servlet.handler.AbstractUrlHandlerMapping.registerHandler:411) - Mapped URL path [/mobile/watch_list.shtm] onto handler of type [class com.serotonin.m2m2.web.mvc.UrlHandlerController]<br />
INFO  2014-05-28 11:22:15,776 (org.springframework.web.servlet.handler.AbstractUrlHandlerMapping.registerHandler:411) - Mapped URL path [/mobile/logout.htm] onto handler of type [class com.serotonin.m2m2.web.mvc.UrlHandlerController]</p>
<p dir="auto">it looks there is no error, but it stops here everytime I start mango.<br />
I checked mysql database, all the tables were created, but not all of the datas converted into mysql.</p>
]]></description><link>https://forum.mango-os.com/post/8626</link><guid isPermaLink="true">https://forum.mango-os.com/post/8626</guid><dc:creator><![CDATA[lansoul80]]></dc:creator><pubDate>Wed, 28 May 2014 07:32:51 GMT</pubDate></item><item><title><![CDATA[Reply to Converting from Derby to MySQL on Tue, 02 Oct 2012 00:34:31 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/gus" aria-label="Profile: gus">@<bdi>gus</bdi></a> said:</p>
<blockquote>
<p dir="auto">Hello, I am having trouble converting to MySQL - I have tried all the above and no success - I am running version 1.12.4. Logs as follows:</p>
<p dir="auto">un 9, 2011 2:05:30 PM org.apache.catalina.core.ApplicationContext log<br />
INFO: Initializing Spring root WebApplicationContext<br />
Jun 9, 2011 2:05:30 PM org.apache.catalina.core.StandardContext listenerStart<br />
SEVERE: Exception sending context initialized event to listener instance of class com.serotonin.mango.MangoContextListener<br />
java.lang.IllegalArgumentException: No enum const class com.serotonin.mango.db.DatabaseAccess$DatabaseType.MYSQL<br />
at java.lang.Enum.valueOf(Enum.java:214)</p>
</blockquote>
<p dir="auto">I had the same problem: I solved this removing the trailing spaces at every lines of env.properties</p>
<p dir="auto">in my file (probably after a cut&amp;paste from somewhere) I noticed that:<br />
my db.type=mysql was -&gt;&gt; db.type=mysql[space][space]</p>
<p dir="auto">after deleting the trailing spaces from every lines (I noticed the same problem on username/password and host)the conversion process worked like a charme!<br />
I hope this could help someone else.</p>
<p dir="auto">Regards</p>
]]></description><link>https://forum.mango-os.com/post/6996</link><guid isPermaLink="true">https://forum.mango-os.com/post/6996</guid><dc:creator><![CDATA[mrblue106]]></dc:creator><pubDate>Tue, 02 Oct 2012 00:34:31 GMT</pubDate></item><item><title><![CDATA[Reply to Converting from Derby to MySQL on Tue, 03 Jul 2012 03:09:09 GMT]]></title><description><![CDATA[<p dir="auto">Maybe not as helpful as you think. Mango will do all of that for you. You just need to create a schema for it to use, and Mango will copy over everything from Derby to MySQL for you.</p>
]]></description><link>https://forum.mango-os.com/post/6486</link><guid isPermaLink="true">https://forum.mango-os.com/post/6486</guid><dc:creator><![CDATA[mlohbihler]]></dc:creator><pubDate>Tue, 03 Jul 2012 03:09:09 GMT</pubDate></item><item><title><![CDATA[Reply to Converting from Derby to MySQL on Mon, 02 Jul 2012 12:31:56 GMT]]></title><description><![CDATA[<p dir="auto">Hey friends,</p>
<p dir="auto">I did this using Squirrel SQL, this software bring a plugin that let you copy a table from a derby database and paste that table on MYSql database, so you can export/import copying the tables from one database to another. its helpful .</p>
]]></description><link>https://forum.mango-os.com/post/6485</link><guid isPermaLink="true">https://forum.mango-os.com/post/6485</guid><dc:creator><![CDATA[Rgantwer]]></dc:creator><pubDate>Mon, 02 Jul 2012 12:31:56 GMT</pubDate></item><item><title><![CDATA[Reply to Converting from Derby to MySQL on Tue, 19 Jun 2012 22:30:13 GMT]]></title><description><![CDATA[<p dir="auto">Yes. The properties look ok. But you seem to have existing tables in your mysql schema. You'll need to drop those first, and then try starting up again.</p>
]]></description><link>https://forum.mango-os.com/post/6470</link><guid isPermaLink="true">https://forum.mango-os.com/post/6470</guid><dc:creator><![CDATA[mlohbihler]]></dc:creator><pubDate>Tue, 19 Jun 2012 22:30:13 GMT</pubDate></item><item><title><![CDATA[Reply to Converting from Derby to MySQL on Tue, 19 Jun 2012 22:26:12 GMT]]></title><description><![CDATA[<p dir="auto">Did you mean that env.properties?</p>
<p dir="auto">db.type=mysql<br />
db.url=jdbc:mysql://localhost/mango<br />
db.username=mangoUser<br />
db.password=mangoPass<br />
db.pool.maxActive=10<br />
db.pool.maxIdle=10<br />
db.update.log.dir=${catalina.base}/logs/</p>
<p dir="auto">convert.db.type=derby<br />
convert.db.url=~/../..mangoDB<br />
convert.db.username=<br />
convert.db.password=</p>
]]></description><link>https://forum.mango-os.com/post/6469</link><guid isPermaLink="true">https://forum.mango-os.com/post/6469</guid><dc:creator><![CDATA[Antsu]]></dc:creator><pubDate>Tue, 19 Jun 2012 22:26:12 GMT</pubDate></item><item><title><![CDATA[Reply to Converting from Derby to MySQL on Tue, 19 Jun 2012 21:30:19 GMT]]></title><description><![CDATA[<p dir="auto">Can you post your db.* and db.convert.* properties?</p>
]]></description><link>https://forum.mango-os.com/post/6468</link><guid isPermaLink="true">https://forum.mango-os.com/post/6468</guid><dc:creator><![CDATA[mlohbihler]]></dc:creator><pubDate>Tue, 19 Jun 2012 21:30:19 GMT</pubDate></item><item><title><![CDATA[Reply to Converting from Derby to MySQL on Tue, 19 Jun 2012 21:15:01 GMT]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">I'm tried to setup Mango on my new computer. OS is Ubuntu 12.04 LTS and then Mysql version is 5.5.24-0ubuntu0.12.04.1 and Mango 1.13.0.</p>
<p dir="auto">When I try to start Mango, browser says:</p>
<pre><code>            *  HTTP Status 404 -*
</code></pre>
<p dir="auto">Localhost.log says:</p>
<p dir="auto">*Jun 19, 2012 7:03:10 PM org.apache.catalina.core.ApplicationContext log</p>
<p dir="auto">INFO: Initializing Spring root WebApplicationContext</p>
<p dir="auto">Jun 19, 2012 7:03:13 PM org.apache.catalina.core.StandardContext listenerStart</p>
<p dir="auto">SEVERE: Exception sending context initialized event to listener instance of class com.serotonin.mango.MangoContextListener</p>
<p dir="auto">org.springframework.jdbc.BadSqlGrammarException: StatementCallback; bad SQL grammar [ create table systemSettings ( settingName varchar(32) not null, settingValue longtext, primary key (settingName) ) engine=InnoDB; ]; nested exception is com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Table '<code>mango</code>.<code>systemSettings</code>' already exists</p>
<p dir="auto">at org.springframework.jdbc.support.SQLExceptionSubclassTranslator.doTranslate(SQLExceptionSubclassTranslator.java:94)</p>
<p dir="auto">at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:72)</p>
<p dir="auto">at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:80)</p>
<p dir="auto">at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:406)</p>
<p dir="auto">at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:427)</p>
<p dir="auto">at com.serotonin.mango.db.BasePooledAccess.runScript(BasePooledAccess.java:89)</p>
<p dir="auto">at com.serotonin.mango.db.BasePooledAccess.createSchema(BasePooledAccess.java:106)</p>
<p dir="auto">at com.serotonin.mango.db.MySQLAccess.newDatabaseCheck(MySQLAccess.java:79)</p>
<p dir="auto">at com.serotonin.mango.db.DatabaseAccess.initialize(DatabaseAccess.java:102)</p>
<p dir="auto">at com.serotonin.mango.MangoContextListener.databaseInitialize(MangoContextListener.java:259)</p>
<p dir="auto">at com.serotonin.mango.MangoContextListener.contextInitialized(MangoContextListener.java:98)</p>
<p dir="auto">at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4206)</p>
<p dir="auto">at org.apache.catalina.core.StandardContext.start(StandardContext.java:4705)</p>
<p dir="auto">at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:799)</p>
<p dir="auto">at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:779)</p>
<p dir="auto">at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:601)</p>
<p dir="auto">at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:675)</p>
<p dir="auto">at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:601)</p>
<p dir="auto">at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:502)</p>
<p dir="auto">at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1317)</p>
<p dir="auto">at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:324)</p>
<p dir="auto">at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:142)</p>
<p dir="auto">at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1065)</p>
<p dir="auto">at org.apache.catalina.core.StandardHost.start(StandardHost.java:840)</p>
<p dir="auto">at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1057)</p>
<p dir="auto">at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463)</p>
<p dir="auto">at org.apache.catalina.core.StandardService.start(StandardService.java:525)</p>
<p dir="auto">at org.apache.catalina.core.StandardServer.start(StandardServer.java:754)</p>
<p dir="auto">at org.apache.catalina.startup.Catalina.start(Catalina.java:595)</p>
<p dir="auto">at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)</p>
<p dir="auto">at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)</p>
<p dir="auto">at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)</p>
<p dir="auto">at java.lang.reflect.Method.invoke(Method.java:616)</p>
<p dir="auto">at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)</p>
<p dir="auto">at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)</p>
<p dir="auto">Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Table '<code>mango</code>.<code>systemSettings</code>' already exists</p>
<p dir="auto">at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)</p>
<p dir="auto">at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)</p>
<p dir="auto">at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)</p>
<p dir="auto">at java.lang.reflect.Constructor.newInstance(Constructor.java:532)</p>
<p dir="auto">at com.mysql.jdbc.Util.handleNewInstance(Util.java:406)</p>
<p dir="auto">at com.mysql.jdbc.Util.getInstance(Util.java:381)</p>
<p dir="auto">at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1030)</p>
<p dir="auto">at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:956)</p>
<p dir="auto">at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3515)</p>
<p dir="auto">at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3447)</p>
<p dir="auto">at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1951)</p>
<p dir="auto">at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2101)</p>
<p dir="auto">at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2548)</p>
<p dir="auto">at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2477)</p>
<p dir="auto">at com.mysql.jdbc.StatementImpl.execute(StatementImpl.java:741)</p>
<p dir="auto">at com.mysql.jdbc.StatementImpl.execute(StatementImpl.java:587)</p>
<p dir="auto">at org.apache.commons.dbcp.DelegatingStatement.execute(DelegatingStatement.java:266)</p>
<p dir="auto">at org.springframework.jdbc.core.JdbcTemplate$1ExecuteStatementCallback.doInStatement(JdbcTemplate.java:420)</p>
<p dir="auto">at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:395)</p>
<p dir="auto">... 31 more</p>
<p dir="auto">Jun 19, 2012 7:03:13 PM org.apache.catalina.core.ApplicationContext log</p>
<p dir="auto">INFO: Closing Spring root WebApplicationContext<br />
*<br />
What went wrong?</p>
<p dir="auto">BR</p>
<p dir="auto">Antsu</p>
]]></description><link>https://forum.mango-os.com/post/6467</link><guid isPermaLink="true">https://forum.mango-os.com/post/6467</guid><dc:creator><![CDATA[Antsu]]></dc:creator><pubDate>Tue, 19 Jun 2012 21:15:01 GMT</pubDate></item><item><title><![CDATA[Reply to Converting from Derby to MySQL on Tue, 24 Jan 2012 19:58:59 GMT]]></title><description><![CDATA[<p dir="auto">Richard, check the &lt;tomcat&gt;/logs/localhost&lt;date&gt;.log file for error messages.</p>
]]></description><link>https://forum.mango-os.com/post/6115</link><guid isPermaLink="true">https://forum.mango-os.com/post/6115</guid><dc:creator><![CDATA[mlohbihler]]></dc:creator><pubDate>Tue, 24 Jan 2012 19:58:59 GMT</pubDate></item><item><title><![CDATA[Reply to Converting from Derby to MySQL on Tue, 24 Jan 2012 19:41:41 GMT]]></title><description><![CDATA[<p dir="auto">Hi I'm having trouble with this conversion. I've performed the steps listed on the first page, but when I go to localhost:8080 I get a HTTP Status 404 Error: The requested resource is not available.</p>
<p dir="auto">On the Tomcat console, the errors appear to start around here:&gt; SEVERE: Error listenerStart<br />
Jan 24, 2012 9:35:40 AM org.apache.catalina.core.StandardContext start<br />
SEVERE: Context [] startup failed due to previous errors<br />
INFO  2012-01-24 09:35:40,093 (com.serotonin.mango.MangoContextListener.contextD<br />
estroyed:124) - Mango context terminating<br />
INFO  2012-01-24 09:35:40,093 (com.serotonin.mango.db.BasePooledAccess.terminate<br />
:123) - Stopping database Anyone have any idea why this happens? My Information for the MySQL connection is correct, as when I put in a wrong password on purpose I get different and more errors.</p>
<p dir="auto">Additionally, does anyone know the user/password login information to log into the derby database? I would like to browse the database with a program I have, but havent been able to make the connection as I havent found where the user/password is kept.</p>
<p dir="auto">Thanks!</p>
]]></description><link>https://forum.mango-os.com/post/6114</link><guid isPermaLink="true">https://forum.mango-os.com/post/6114</guid><dc:creator><![CDATA[rcopeland]]></dc:creator><pubDate>Tue, 24 Jan 2012 19:41:41 GMT</pubDate></item><item><title><![CDATA[Reply to Converting from Derby to MySQL on Thu, 07 Jul 2011 17:49:22 GMT]]></title><description><![CDATA[<p dir="auto">I have the same problem that gus mentioned before. Is there a solution? anyone has a suggestion?</p>
]]></description><link>https://forum.mango-os.com/post/5806</link><guid isPermaLink="true">https://forum.mango-os.com/post/5806</guid><dc:creator><![CDATA[cora]]></dc:creator><pubDate>Thu, 07 Jul 2011 17:49:22 GMT</pubDate></item><item><title><![CDATA[Reply to Converting from Derby to MySQL on Thu, 09 Jun 2011 08:28:12 GMT]]></title><description><![CDATA[<p dir="auto">Hello, I am having trouble converting to MySQL - I have tried all the above and no success - I am running version 1.12.4. Logs as follows:</p>
<p dir="auto">un 9, 2011 2:05:30 PM org.apache.catalina.core.ApplicationContext log<br />
INFO: Initializing Spring root WebApplicationContext<br />
Jun 9, 2011 2:05:30 PM org.apache.catalina.core.StandardContext listenerStart<br />
SEVERE: Exception sending context initialized event to listener instance of class com.serotonin.mango.MangoContextListener<br />
java.lang.IllegalArgumentException: No enum const class com.serotonin.mango.db.DatabaseAccess$DatabaseType.MYSQL<br />
at java.lang.Enum.valueOf(Enum.java:214)<br />
at com.serotonin.mango.db.DatabaseAccess$DatabaseType.valueOf(DatabaseAccess.java:48)<br />
at com.serotonin.mango.db.DatabaseAccess.createDatabaseAccess(DatabaseAccess.java:73)<br />
at com.serotonin.mango.MangoContextListener.databaseInitialize(MangoContextListener.java:253)<br />
at com.serotonin.mango.MangoContextListener.contextInitialized(MangoContextListener.java:94)<br />
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3934)<br />
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4429)<br />
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)<br />
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)<br />
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:526)<br />
at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:987)<br />
at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:909)<br />
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:495)<br />
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1206)<br />
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:314)<br />
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)<br />
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)<br />
at org.apache.catalina.core.StandardHost.start(StandardHost.java:722)<br />
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)<br />
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)<br />
at org.apache.catalina.core.StandardService.start(StandardService.java:516)<br />
at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)<br />
at org.apache.catalina.startup.Catalina.start(Catalina.java:583)<br />
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)<br />
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)<br />
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)<br />
at java.lang.reflect.Method.invoke(Method.java:616)<br />
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)<br />
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)<br />
Jun 9, 2011 2:05:30 PM org.apache.catalina.core.ApplicationContext log<br />
INFO: Closing Spring root WebApplicationContext</p>
<p dir="auto">env.properties</p>
<p dir="auto">convert.db.type=derby<br />
convert.db.url=~/../../bin/mangoDB<br />
convert.db.username=admin<br />
convert.db.password=admin</p>
<p dir="auto">db.type=mysql<br />
db.url=jdbc:mysql://localhost/mangodb<br />
db.username=mango<br />
db.password=mango<br />
db.pool.maxActive=10<br />
db.pool.maxIdle=10</p>
<p dir="auto">Any help much appreciated.</p>
<p dir="auto">I have also tried with a fresh copy of Mango with just the MySQL settings but no success..</p>
<p dir="auto">Thanks Gus</p>
]]></description><link>https://forum.mango-os.com/post/5770</link><guid isPermaLink="true">https://forum.mango-os.com/post/5770</guid><dc:creator><![CDATA[gus]]></dc:creator><pubDate>Thu, 09 Jun 2011 08:28:12 GMT</pubDate></item><item><title><![CDATA[Reply to Converting from Derby to MySQL on Tue, 18 Jan 2011 19:54:40 GMT]]></title><description><![CDATA[<p dir="auto">You should also delete any previous versions of the connector jar file.</p>
]]></description><link>https://forum.mango-os.com/post/5226</link><guid isPermaLink="true">https://forum.mango-os.com/post/5226</guid><dc:creator><![CDATA[mlohbihler]]></dc:creator><pubDate>Tue, 18 Jan 2011 19:54:40 GMT</pubDate></item><item><title><![CDATA[Reply to Converting from Derby to MySQL on Tue, 18 Jan 2011 19:25:11 GMT]]></title><description><![CDATA[<p dir="auto">I'm running Mango 1.9.0 and recently converted my derby db to mysql version 5.5.8.  I ran into a couple of issues which I was able figure out and fix.  Note: these issues may have already been addressed in the newer versions of Mango.</p>
<ol>
<li>
<p dir="auto">There is a new version of the mysql java connector jar available from the mysql website.  Download mysql-connector-java-5.1.14.tar.gz, unzip it, and place mysql-connector-java-5.1.14-bin.jar in WEB-INF/lib directory.</p>
</li>
<li>
<p dir="auto">Several sql scripts and db upgrade source files used a deprecated mysql keyword in 'create table' statements.  Search for 'type=InnoDB' and replace with 'engine=InnoDB'.</p>
</li>
</ol>
]]></description><link>https://forum.mango-os.com/post/5225</link><guid isPermaLink="true">https://forum.mango-os.com/post/5225</guid><dc:creator><![CDATA[SteveE]]></dc:creator><pubDate>Tue, 18 Jan 2011 19:25:11 GMT</pubDate></item><item><title><![CDATA[Reply to Converting from Derby to MySQL on Mon, 03 May 2010 18:10:44 GMT]]></title><description><![CDATA[<p dir="auto">Done. I also needed to comment the following lines:</p>
<p dir="auto">#convert.db.type=<br />
#convert.db.url=<br />
#convert.db.username=<br />
#convert.db.password=</p>
]]></description><link>https://forum.mango-os.com/post/3692</link><guid isPermaLink="true">https://forum.mango-os.com/post/3692</guid><dc:creator><![CDATA[jjconti]]></dc:creator><pubDate>Mon, 03 May 2010 18:10:44 GMT</pubDate></item><item><title><![CDATA[Reply to Converting from Derby to MySQL on Mon, 03 May 2010 17:19:29 GMT]]></title><description><![CDATA[<p dir="auto">I followed the spteps but after restarting Mango, the tables were created in the MySQL schema but there was no data on them bt the admin/amdin user/password.</p>
]]></description><link>https://forum.mango-os.com/post/3691</link><guid isPermaLink="true">https://forum.mango-os.com/post/3691</guid><dc:creator><![CDATA[jjconti]]></dc:creator><pubDate>Mon, 03 May 2010 17:19:29 GMT</pubDate></item><item><title><![CDATA[Reply to Converting from Derby to MySQL on Thu, 07 Jan 2010 16:27:52 GMT]]></title><description><![CDATA[<p dir="auto">Did you manually create the mysql tables? If so, drop them all and start again. You only need to create the database. Mango need to create the tables itself.</p>
]]></description><link>https://forum.mango-os.com/post/3044</link><guid isPermaLink="true">https://forum.mango-os.com/post/3044</guid><dc:creator><![CDATA[mlohbihler]]></dc:creator><pubDate>Thu, 07 Jan 2010 16:27:52 GMT</pubDate></item><item><title><![CDATA[Reply to Converting from Derby to MySQL on Thu, 07 Jan 2010 08:33:54 GMT]]></title><description><![CDATA[<p dir="auto">Dear sir,</p>
<p dir="auto">I try change databse from Derby to Mysql error message:</p>
<p dir="auto">INFO  2010-01-07 15:26:17,921 (org.springframework.web.context.ContextLoader.initWebApplicationContext:189) - Root WebApplicationContext: initialization started<br />
INFO  2010-01-07 15:26:17,968 (org.springframework.context.support.AbstractApplicationContext.prepareRefresh:412) - Refreshing org.springframework.web.context.support.XmlWebApplicationContext@e0a386: display name [Root WebApplicationContext]; startup date [Thu Jan 07 15:26:17 ICT 2010]; root of context hierarchy<br />
INFO  2010-01-07 15:26:18,046 (org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions:323) - Loading XML bean definitions from ServletContext resource [/WEB-INF/applicationContext.xml]<br />
INFO  2010-01-07 15:26:18,093 (org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory:427) - Bean factory for application context [org.springframework.web.context.support.XmlWebApplicationContext@e0a386]: org.springframework.beans.factory.support.DefaultListableBeanFactory@609959<br />
INFO  2010-01-07 15:26:18,203 (org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons:414) - Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@609959: defining beans [CompoundEventsDwr,CustomViewDwr,DataPointDetailsDwr,DataPointEditDwr,DataSourceEditDwr,DataSourceListDwr,EmportDwr,EventHandlersDwr,EventsDwr,MailingListsDwr,MiscDwr,PointHierarchyDwr,PointLinksDwr,PublisherEditDwr,PublisherListDwr,ReportsDwr,ScheduledEventsDwr,SystemSettingsDwr,UsersDwr,ViewDwr,WatchListDwr,localeResolver,messageSource]; root of factory hierarchy<br />
INFO  2010-01-07 15:26:18,343 (org.springframework.web.context.ContextLoader.initWebApplicationContext:209) - Root WebApplicationContext: initialization completed in 406 ms<br />
INFO  2010-01-07 15:26:18,343 (com.serotonin.mango.MangoContextListener.contextInitialized:73) - Mango context starting<br />
INFO  2010-01-07 15:26:18,656 (com.serotonin.mango.db.BasePooledAccess.initializeImpl:54) - Initializing pooled connection manager<br />
WARN  2010-01-07 15:26:19,046 (com.serotonin.mango.db.upgrade.DBUpgrade.checkUpgrade:81) - Upgrading instance from 0.7.0 to 0.8.0<br />
INFO  2010-01-07 15:26:19,062 (org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions:323) - Loading XML bean definitions from class path resource [org/springframework/jdbc/support/sql-error-codes.xml]<br />
INFO  2010-01-07 15:26:19,109 (org.springframework.jdbc.support.SQLErrorCodesFactory.&lt;init&gt;:128) - SQLErrorCodes loaded: [DB2, Derby, H2, HSQL, Informix, MS-SQL, MySQL, Oracle, PostgreSQL, Sybase]<br />
INFO  2010-01-07 15:26:19,125 (com.serotonin.mango.MangoContextListener.contextDestroyed:101) - Mango context terminating<br />
INFO  2010-01-07 15:26:19,125 (com.serotonin.mango.db.BasePooledAccess.terminate:123) - Stopping database<br />
INFO  2010-01-07 15:26:19,125 (com.serotonin.mango.MangoContextListener.contextDestroyed:121) - Mango context terminated<br />
INFO  2010-01-07 15:26:19,125 (org.springframework.context.support.AbstractApplicationContext.doClose:816) - Closing org.springframework.web.context.support.XmlWebApplicationContext@e0a386: display name [Root WebApplicationContext]; startup date [Thu Jan 07 15:26:17 ICT 2010]; root of context hierarchy<br />
INFO  2010-01-07 15:26:19,125 (org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.destroySingletons:392) - Destroying singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@609959: defining beans [CompoundEventsDwr,CustomViewDwr,DataPointDetailsDwr,DataPointEditDwr,DataSourceEditDwr,DataSourceListDwr,EmportDwr,EventHandlersDwr,EventsDwr,MailingListsDwr,MiscDwr,PointHierarchyDwr,PointLinksDwr,PublisherEditDwr,PublisherListDwr,ReportsDwr,ScheduledEventsDwr,SystemSettingsDwr,UsersDwr,ViewDwr,WatchListDwr,localeResolver,messageSource]; root of factory hierarchy</p>
<p dir="auto">How to solve is problem?</p>
]]></description><link>https://forum.mango-os.com/post/3041</link><guid isPermaLink="true">https://forum.mango-os.com/post/3041</guid><dc:creator><![CDATA[Thitiwat]]></dc:creator><pubDate>Thu, 07 Jan 2010 08:33:54 GMT</pubDate></item><item><title><![CDATA[Reply to Converting from Derby to MySQL on Thu, 25 Jun 2009 13:46:51 GMT]]></title><description><![CDATA[<p dir="auto">BTW, if you have any problems during conversion (e.g. a power failure, and error, etc), you can always restart the process by dropping all of the tables that Mango created in your MySQL schema and restarting Mango.</p>
]]></description><link>https://forum.mango-os.com/post/2616</link><guid isPermaLink="true">https://forum.mango-os.com/post/2616</guid><dc:creator><![CDATA[mlohbihler]]></dc:creator><pubDate>Thu, 25 Jun 2009 13:46:51 GMT</pubDate></item></channel></rss>