Submit a ticketCall us

Get a crash course on Network Monitoring delivered right to your inbox
This free 7-day email course provides a primer to the philosophy, theory, and fundamental concepts involved in IT monitoring. Lessons will explain not only how to perform various monitoring tasks, but why and when you should use them. Sign up now.

Home > Success Center > Server & Application Monitor (SAM) > Unable to connect to any specified MySQL hosts

Unable to connect to any specified MySQL hosts

Overview

The following error message is received in the SolarWinds website:

 

Unable to connect to any specified MySQL hosts

(C:\Windows\Microsoft.NET\Framework\v4.0.30319\Config\machine.config line 2XX)

Environment

Orion Any

Cause 

This is due to an error in the Mysql connector installation and is non-SolarWinds related. 

Resolution

 

DISCLAIMER: Please note this is not an issue regarding the SolarWinds software but is an issue caused by the MySQL connector on the server. You can uninstall the MySQL connector from the server and it will resolve the issue. If you cannot do so then you may attempt to do the steps below which several of our customers have used in the past from sites like TechNet and Stackoverflow but it is at your own risk. 

 

  1. Stop all SolarWinds Services.
  2. Go to:
    1. C:\Windows\Microsoft.NET\Framework\v4.0.30319\Config\machine.config
    2. C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Config\machine.config
  3. Open the machine.config file in any text editor.
  4. Comment out the config in machine.config file. The following lines:

 

    Line 2XX:    <!-- <siteMap>

    Line 2XX:      <providers>

    Line 2XX:        <add name="MySqlSiteMapProvider" type="MySql.Web.SiteMap.MySqlSiteMapProvider, MySql.Web, Version=6.9.6.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d" connectionStringName="LocalMySqlServer" applicationName="/" />

    Line 2XX:      </providers>

    Line 2XX:    </siteMap> -->

 

    5.  Restart all SolarWinds Services.

 

 

Last modified
07:13, 10 Aug 2017

Tags

Classifications

Public