Quantcast
Channel: THWACK: Message List
Viewing all articles
Browse latest Browse all 20490

Re: cannot monitor mysql application. got error "Data source name not found and no default driver specified."

$
0
0

I am assuming you are trying to get this to work in SAM (Server & Application Monitor)

 

First of all, install the ODBC driver for MySQL on the SAM server

 

If you have done that already, then either the  the connection string is incorrect or correct platform (32 bit vs 64 bit) hasn't been specified.

 

To correct connection string:

- Get the correct syntax from http://www.connectionstrings.com/. The default SAM template for MySQL also has the correct syntax

- Note the correct Driver name from the ODBC administrator. Example shown below for PostgreSQL

SAM-ODBC-administrator.png

- Specify the correct connection string in the SAM component editor. Below is an example of an incorrect string for the highlighted ODBC driver. The correct connection string would start with Driver={PostgreSQL Unicode(x64)}  in order to match the highlighted driver name above

SAM-ODBC-IncorrectString.png

You can use the Multi-edit option in the template to set this correctly for all the components

 

To correct the platform setting

By default, SAM application monitors run in 32-bit mode. If you intend to use a 64 bit ODBC driver, the application monitor must be switched to 64-bit mode. You can edit the Application Monitor, expand the ‘Advanced’ section and change the 'Platform to run polling job on:' to x64.

SAM-Platform-Setting.gif


Viewing all articles
Browse latest Browse all 20490

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>