如何通过带有C#的asp.net避免MySql连接问题? [英] How to avoid MySql connectivity issue via asp.net with C#?
本文介绍了如何通过带有C#的asp.net避免MySql连接问题?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何通过带有C#的asp.net避免MySql连接问题?
我正在尝试将C#连接到MySql,但会弹出以下错误:
使用方法'mysql_native_password'对用户'root'的主机'localhost'进行身份验证失败,并显示消息:用户'root'访问被拒绝@'localhost'(使用密码:YES )
解决方案
请参阅下面的类似问题。
拒绝用户'root'@'localhost'(使用密码:YES) [< a href =http://www.codeproject.com/Questions/740807/Access-denied-for-user-root-localhost-using-passtarget =_ blanktitle =New Window> ^
How to avoid MySql connectivity issue via asp.net with C# ?
I am trying to connect C# to MySql, but the following error pops up:
Authentication to host 'localhost' for user 'root' using method 'mysql_native_password' failed with message: Access denied for user 'root' @ 'localhost' (using password: YES)
解决方案
Please refer below for similar issue.
Access denied for user 'root'@'localhost' (using password: YES)[^]
这篇关于如何通过带有C#的asp.net避免MySql连接问题?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文