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
- 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
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.