我在连接vb.net和mysql时总是遇到身份验证错误 [英] I always encounter authentication error in connecting vb.net and mysql

查看:101
本文介绍了我在连接vb.net和mysql时总是遇到身份验证错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

请帮助我!

每当我将vb.net连接到mysql时,我总会遇到此错误:

Help me please!
I always encounter this error whenever I connect vb.net to mysql:

Authentication to host 'website' for user 'username' using method 'mysql_native_password' failed with message: Access denied for user 'username'@'ip address' (using password: YES)



我该怎么办?

我已经使用cPanel授予了用户权限。我怎么能解决这个问题?

提前感谢!


what should I do?
I already granted the user using cPanel. How can I solve this?
thanks in advance!

推荐答案

你有没有执行 FLUSH PRIVILEGES 吗?

忘记这是这类问题的常见原因。
Did you perform a FLUSH PRIVILEGES on your mysql server after granting ?
Forgetting that is a common source for this kind of problem.


我已经知道了!

我只是在cPanel中设置了一个远程访问权限。

但是还是要感谢。:))
I already got it!
I just set a remote access privilege in cPanel.
But thanks anyway.:))


这篇关于我在连接vb.net和mysql时总是遇到身份验证错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆