Reputation: 11
In my Wpf application (with C#, Visual Studio) I have two problems:
I get a message box with:
Unable to connect to any of the specified MySQL hosts.
when I click on "Test Connection" and
Unable to retrieve the list of databases
when clicking on Database name.
I tried with the IP shown in the image, also with hostname Amira-HP for example, I also added the port number 3306 but just nothing!
I tried to ask google but didn't find an answer.
Upvotes: 0
Views: 280
Reputation: 11
1- The problem was that it's not possible to create an edmx model with IP adress and user name root, so i created another MySql user account with a password.
2- There was some missing dll, so for every reference in my project i checked "copy local" to have a copy of every dll in the Debug directory where we find the .exe of the application.
Thanx for everyone, hope that that my answer helps you.
Upvotes: 1