简体   繁体   English

使用方法“ mysql_native_password”对主机或用户进行身份验证失败

[英]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.

相关问题 使用方法 'mysql_native_password' 对用户 'root' 的主机 'localhost' 进行身份验证失败并显示消息(使用密码:否) - Authentication to host 'localhost' for user 'root' using method 'mysql_native_password' failed with message (using password: NO) 使用方法“mysql_native_password”对用户“root”的主机“127.0.0.1”进行身份验证失败,并显示消息:未知数据库“xxx” - Authentication to host '127.0.0.1' for user 'root' using method 'mysql_native_password' failed with message: Unknown database 'xxx' 使用方法“mysql_native_password”对用户“用户名”的主机“192.168.0.31”进行身份验证失败,并显示消息:未知数据库“mysql57” - Authentication to host '192.168.0.31' for user 'username' using method 'mysql_native_password' failed with message: Unknown database 'mysql57' 如何修复“使用方法 'mysql_native_password' 为用户进行身份验证失败并显示消息:从流中读取失败。” 在.NET中 - How to fix 'Authentication to host for user using method 'mysql_native_password' failed with message: Reading from the stream has failed.' in .NET 使用方法 mysql_native_password 验证失败 - Authentication failed using method mysql_native_password 使用方法“ mysql_native_password”失败 - using method 'mysql_native_password' failed 方法'mysql_native_password'失败并显示消息:用户''@'RAHUL-PC'的访问被拒绝(使用密码:是) - method 'mysql_native_password' failed with message: Access denied for user ''@'RAHUL-PC' (using password: YES) C# - 意外的身份验证方法 mysql_native_password 异常 - C# - Unexpected authentication method mysql_native_password exception 从流读取失败 - mysql_native_password错误 - Reading from stream failed - mysql_native_password error 即使添加了用户,“ user'@'localhost”的MySQL MySQL(MariaDB)身份验证仍失败 - MySQL (MariaDB) authentication failed for 'user'@'localhost' even after user was added
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM