Skip to content
DataMiner DoJo

More results...

Generic selectors
Exact matches only
Search in title
Search in content
Post Type Selectors
Search in posts
Search in pages
Search in posts
Search in pages
Log in
Menu
  • Blog
  • Questions
  • Learning
    • E-learning Courses
    • Open Classroom Training
    • Certification
      • DataMiner Fundamentals
      • DataMiner Configurator
      • DataMiner Automation
      • Scripts & Connectors Developer: HTTP Basics
      • Scripts & Connectors Developer: SNMP Basics
      • Visual Overview – Level 1
      • Verify a certificate
    • Tutorials
    • Video Library
    • Books We Like
    • >> Go to DataMiner Docs
  • Expert Center
    • Solutions & Use Cases
      • Solutions
      • Use Case Library
    • Markets & Industries
      • Media production
      • Government & defense
      • Content distribution
      • Service providers
      • Partners
      • OSS/BSS
    • DataMiner Insights
      • Security
      • Integration Studio
      • System Architecture
      • DataMiner Releases & Updates
      • DataMiner Apps
    • Agile
      • Agile Webspace
      • Everything Agile
        • The Agile Manifesto
        • Best Practices
        • Retro Recipes
      • Methodologies
        • The Scrum Framework
        • Kanban
        • Extreme Programming
      • Roles
        • The Product Owner
        • The Agile Coach
        • The Quality & UX Coach (QX)
    • DataMiner DevOps Professional Program
  • Downloads
  • More
    • Feature Suggestions
    • Climb the leaderboard!
    • Swag Shop
    • Contact
      • General Inquiries
      • DataMiner DevOps Support
      • Commercial Requests
    • Global Feedback Survey
  • PARTNERS
    • All Partners
    • Technology Partners
    • Strategic Partner Program
    • Deal Registration
  • >> Go to dataminer.services

Why does Dataminer look for a MYSQL central database when it doesn’t exist?

Solved1.49K views19th October 2023data offload database settings General database failure Offload MySQL
1
Shawn Michaud [SLC] [DevOps Member]582 23rd September 2023 0 Comments

Issue:

We continuously see MYSQL errors in the install log for a particular lab environment (3 Different DMS's i.e. DEV, QA, STG) that has been in place for years and has been through many upgrades since inception. This applies to all Dataminer versions starting from 9 to the latest available to date 10.3.11(RC).

I hope there is a simple config change we need to tweak, feature request to submit or an update to our documentation I can suggest. The error and details are below...

2023-09-23 13:49:40|progress|Checking local database...
2023-09-23 13:49:40|progress|Checking central database...
2023-09-23 13:49:43|error|Checking central database failed: MySql.Data.MySqlClient.MySqlException (0x80004005): Unable to connect to any of the specified MySQL hosts.
2023-09-23 13:49:43|progress| at MySql.Data.MySqlClient.NativeDriver.Open()
2023-09-23 13:49:43|progress| at MySql.Data.MySqlClient.Driver.Open()
2023-09-23 13:49:43|progress| at MySql.Data.MySqlClient.Driver.Create(MySqlConnectionStringBuilder settings)
2023-09-23 13:49:43|progress| at MySql.Data.MySqlClient.MySqlPool.CreateNewPooledConnection()
2023-09-23 13:49:43|progress| at MySql.Data.MySqlClient.MySqlPool.GetPooledConnection()
2023-09-23 13:49:43|progress| at MySql.Data.MySqlClient.MySqlPool.TryToGetDriver()
2023-09-23 13:49:43|progress| at MySql.Data.MySqlClient.MySqlPool.GetConnection()
2023-09-23 13:49:43|progress| at MySql.Data.MySqlClient.MySqlConnection.Open()
2023-09-23 13:49:43|progress| at Skyline.DataMiner.SLDatabase.SLMySQL.GetConnectionFromPool(Boolean allowSolve, String connectString)
2023-09-23 13:49:43|progress| at Skyline.DataMiner.SLDatabase.SLMySQL.VerifyTablesCentralDBInner(Boolean preview)
2023-09-23 13:49:43|progress| at Skyline.DataMiner.SLDatabase.SLMySQL.VerifyTablesCentralDB(Boolean preview)
2023-09-23 13:49:43|progress| at SLUpgradeDatabase.Program.MainProtected(String[] args)
2023-09-23 13:49:43|step|Step 23/32: ExecuteUpgradeActions

Setup:

We have a standalone dma for development with a local windows cassandra installed/used and offloading dataavg only to file/s.

DB.XML:

<?xml version="1.0"?>
<DataBases xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.skyline.be/config/db">
<DataBase active="true" local="true" type="Cassandra">
<ConnectString/>
<DBServer>localhost</DBServer>
<DSN/>
<DB>mydbname</DB>
<UID>xxxx</UID>
<PWD>xxxx</PWD>
</DataBase>
<DataBase active="True" local="false" type="MySQL">
<OffloadInterval>5</OffloadInterval>
<FileCache enabled="true">
<MaxSizeKB>10000000</MaxSizeKB>
</FileCache>
<Offloads>
<Offload state="active" local="dataavg" remote="dataavg" record="5" oldstyle="true"/>
</Offloads>
</DataBase>
</DataBases>

Marieke Goethals [SLC] [DevOps Catalyst] Selected answer as best 19th October 2023

2 Answers

  • Active
  • Voted
  • Newest
  • Oldest
3
Wouter Demuynck [SLC] [DevOps Advocate]5.91K Posted 25th September 2023 2 Comments

The DB.xml tag "<DataBase active="True" local="false" type="MySQL">" indicates that a MySQL central database (local="false") is configured an active (active="true").

This section will be the reason why the upgrade tries to apply updates there, even though no actual host is configured in there.

Removing this entire section of the DB.xml file (while DataMiner is stopped) should avoid these upgrade action errors.

Marieke Goethals [SLC] [DevOps Catalyst] Selected answer as best 19th October 2023
Shawn Michaud [SLC] [DevOps Member] commented 25th September 2023

Thanks for the reply but if I remove that section then we no longer would be offloading the avg table. When I set the MYSQL to active=disabled, no elements showed in Dataminer after restart. Interestingly enough this happens even though its configured cassandra. Do I need to move the offload config under the cassandra tag vs keeping it under the MYSQL as a 2nd db, etc? Our documentation doesn’t mention an example where we use a cassandra & offload a table, etc. It only gives an example like what we have setup of a example for offload only which is what we have followed.

Wouter Demuynck [SLC] [DevOps Advocate] commented 26th September 2023

I was confused here for a while by not having a central database but still expecting offload to work.

I believe this system is using the “Offloading files to a file cache” feature (docs: https://docs.dataminer.services/user-guide/Reference/Skyline_DataMiner_Folder/More_information_on_certain_files_and_folders/DB_xml.html#offloading-files-to-a-file-cache )

In that case, the solution will be to remove the type=”MySQL” part of the central database tag in DB.xml so no code interprets this as an actual central database.

You are viewing 1 out of 2 answers, click here to view all answers.
Please login to be able to comment or post an answer.

My DevOps rank

DevOps Members get more insights on their profile page.

My user earnings

0 Dojo credits

Spend your credits in our swag shop.

0 Reputation points

Boost your reputation, climb the leaderboard.

Promo banner DataMiner DevOps Professiona Program
DataMiner Integration Studio (DIS)
Empower Katas

Recent questions

Alarm Dashboard PDF/CSV Export 0 Answers | 0 Votes
Is the Microsoft SharePoint Connector Still Usable 0 Answers | 0 Votes
Is the Microsoft SharePoint Connector Still Usable 0 Answers | 0 Votes

Question Tags

adl2099 (115) alarm (62) Alarm Console (82) alarms (100) alarm template (83) Automation (223) automation scipt (111) Automation script (167) backup (71) Cassandra (180) Connector (108) Correlation (68) Cube (150) Dashboard (194) Dashboards (188) database (83) DataMiner Cube (57) DIS (81) DMS (71) DOM (139) driver (65) DVE (55) Elastic (83) Elasticsearch (115) elements (80) Failover (104) GQI (159) HTTP (76) IDP (74) LCA (151) low code app (166) low code apps (93) lowcodeapps (75) MySQL (53) protocol (203) QAction (83) security (88) services (51) SNMP (86) SRM (337) table (54) trending (87) upgrade (62) Visio (539) Visual Overview (345)
Privacy Policy • Terms & Conditions • Contact

© 2025 Skyline Communications. All rights reserved.

DOJO Q&A widget

Can't find what you need?

? Explore the Q&A DataMiner Docs

[ Placeholder content for popup link ] WordPress Download Manager - Best Download Management Plugin