0

I made a WPF application few years ago. It worked perfectly until a few weeks ago. The connection between the application and the online mysql server seems to be broken.

This is the error I am getting: authentication to host or user using method 'mysql_native_password' failed

This is my connection string: Server=domainname_of_the_webserver;Database=name_of_the_database;User id=****;Password=*****;Port=3306

I did not change anything so I guess it maybe has something to do with an update of my provider? My provider is Versio.nl

Vincent V
  • 1
  • 5

2 Answers2

0

Make sure that your MySQL database is running. Sounds confusing but this can also be the problem. The error message is kind of missleading in this scenario.

skuntze
  • 21
  • 1
  • 1
  • 3
0

I have found the answer. The problem was, my hosting provider changed some default security settings without telling the users anything.

I need to add my IP adres of the client to a list of Access hosts.

Vincent V
  • 1
  • 5