为什么这不起作用:[MySQL][ODBC 5.1 Driver]用户访问被拒绝

发布于 2024-09-04 07:27:58 字数 478 浏览 4 评论 0原文

所以我知道整个网络上都有一个与此非常相似的问题以及堆栈溢出:

错误访问被拒绝用户MySQL服务器?

但我认为我的问题是不同的。所以我设置了一个链接服务器并且它可以工作。我为我正在使用的 IP 设置了正确的权限。然而,当我们的用户“webuser@ CorrectIP”尝试访问它时,问题就出现了。因此,任何使用窗口身份验证的用户都可以访问它并且效果很好。但任何不使用 Windows 身份验证的都将被阻止。

然而,我已经尝试了所有常见的解决方案,例如设置严格的密码、更改 Microsoft SQL Server 中的安全设置等,但没有任何效果。

仅供参考:我使用的是 Microsoft SQL Server 2008 -> mysql(通过 phpMyAdmin)

So I know that there is a very similar question to this all over the web as well as stack overflow:

Error Access denied for user MySQL server?

But my question I think is different. So I have set up a linked server and it works. I have the correct permissions set up for my IP's that I am using. However the problem arises when our user "webuser@correctIP" tries to access it. Therefore, any user using window authentication is allowed to access it and works great. But any that are not using windows authentication are blocked.

However, I have tried all the common solutions such as setting up a strict password, changing security settings in Microsoft SQL Server etc. Nothing is working.

FYI: I am using this from Microsoft SQL Server 2008 -> mysql (through phpMyAdmin)

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

终陌 2024-09-11 07:27:58

我需要做的是为我的链接服务器数据库创建一个新用户(mysql 数据库的用户)。然后我必须在链接服务器属性框的安全部分中设置该用户。一旦我创建了新用户,然后选择“使用此安全上下文进行创建:”,然后添加了我新创建的用户和密码,效果很好。如果您有任何疑问,请尽管提问。谢谢

What I needed to do was to create a new user for my linked servers database(user for the mysql database). Then I had to set up that user in the security section of the linked server properties box. Once I created my new user and then chose "Be made using this security context:" and then added my newly created user and password it worked great. If you have any question please just ask. Thanks

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文