Re: Unable to connect to any of the specified MySQL hosts
Posted by:
Kurt Jakobsen ()
Date: May 04, 2012 09:15AM
I finally found the solution for the issue in my case by myself and thought I share it with anybody else struggling with the same:
In the MySQL Connector Net 6.5.4 installation directory there are two subfolders with MySql.Data.dll assemblies; v2.0 and v4.0. Ensure that you pick the one that goes with your configuration, only one of them shows up in the GAC reference list. And only when I selected the browse function in the GAC reference panel and picked the file from the folder instead of the one listed in the reference list it worked in my case.