mariadb - MariaDB Maxscale 抛出访问被拒绝,尽管用户 ID/密码是正确的
问题描述
数据库版本:10.2.14 Maxscale 版本:2.4.6
- 应用程序正在使用 jdbc 驱动程序连接到数据库
- userid1 & userid2 被允许从任何地方连接,即
如果我们直接从应用程序服务器连接到数据库,我们不会收到任何问题,并且连接建立成功,但是当我们通过 maxscale 连接到数据库时,我们会收到间歇性拒绝访问错误
注意:用户名和密码是相同的,从第一天起就永远不会改变
情景的
userid1 : Connect to database via Maxscale with ID/Password throws Access Denied Error intermittently, sometimes connects successfully
Userid1 : Connect to database directly from application, works fine no issues
userid2 : Connect to database via Maxscale with ID/Password throws Access Denied Error intermittently, sometimes connects successfully
Userid2 : Connect to database directly from application, works fine no issues
Earlier Maxscale Version was 2.2.19 and we never faced issues.
From both (application & Maxscale) logs we can see only ACCESS DENIED errors for those id's.
What am unable to understand is
1) Userid and Password never changed, so why we are receiving ACCESS DENIED when using Maxscale that too intermittently and no issue if we connect directly database.
2) IF Userid/Password passes wrongly then it should be always access denied, but in this case it's intermittently
解决方案
在 MariaDB Jira 中,类似的行为被报告为MXS-2891 。我建议在那个 Jira 问题上报告这些问题。
推荐阅读
- amazon-web-services - 无法跨账户复制自定义 RDS 参数组
- javascript - 如何扩展其他 vscode 扩展?
- linux - 无法从 Fedora 34 上的实时 USB 恢复 Rsync
- pycharm - Pycharm 建议使用我本地分支的旧名称在新的 Gitlab 分支中推送代码
- wordpress - 使用 .htaccess 添加 HTTP 标头以确保安全性会破坏 WordPress 站点上的图像
- amazon-web-services - 如何让 AWS SSH 应用 --profile 变量
- git - Git - 从具有不同文件夹的两台不同机器提交和推送相同的存储库
- next.js - 如何在 Next.js 中创建动态路由
- php - E_Error 无法重新声明函数 - 先前声明的函数无法重新声明
- c# - C# Winform 注册表设置和获取功能似乎可以工作,但实际上并没有更改注册表