[英]authentication to host or user using method 'mysql_native_password' failed
I made a WPF application few years ago. 几年前,我提出了WPF应用程序。 It worked perfectly until a few weeks ago. 直到几周前它一直运行良好。 The connection between the application and the online mysql server seems to be broken. 应用程序和在线mysql服务器之间的连接似乎已断开。
This is the error I am getting: authentication to host or user using method 'mysql_native_password' failed
这是我得到的错误: 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
这是我的连接字符串: 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 我的提供商是Versio.nl
Make sure that your MySQL database is running. 确保您的MySQL数据库正在运行。 Sounds confusing but this can also be the problem. 听起来令人困惑,但这也可能是问题所在。 The error message is kind of missleading in this scenario. 在这种情况下,错误消息有点令人误解。
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. 我需要将客户端的IP地址添加到Access主机列表中。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.