错误 1045 (28000):用户“root”@“localhost”的访问被拒绝(使用密码 = 否)问题 Freeradius 服务器导致连接中止
您好,我正在尝试启动 mariadb/freeradius/daloradius 服务器,但我不断从 mariadb/mysql 服务上的 systemctl -xe 获取此日志,在确定是 sql 连接有问题后,我发现了这一点,freeradius 向我展示了相同:
我很沮丧,我几乎跑遍了每个配置文件,一切都应该按顺序进行,但是不,这种情况一直在发生,当我在他的配置文件中指出他应该使用我专门为他创建的用户时,radius 服务器正在尝试连接到我的 root sql 用户,我无法理解为什么,mariadb 需要吗在允许它连接之前是否需要根凭据?我一无所知请帮忙。
Hi I'm trying to get a mariadb/freeradius/daloradius server up but i keep getting this log from systemctl -xe on my mariadb/mysql service, i came across that after figuring it was the sql connection that was problematic, freeradius shows me the same :
I'm getting frustrated, i ran across almost every config file, all should be in order but no this keeps happening, the radius server is trying to connect to my root sql user when i pointed to him in his config file that he should use the one i created especially for him and i can't manage to understand why, do mariadb needs the root credentials before even allowing it to connect to it ? I'm clueless please help.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
这条消息告诉你。您的配置中的凭据不正确或者 root 用户无权登录。
最佳实践是获取您的 mysql 配置并尝试使用 mysql 命令进行连接:
请务必与您的应用程序用户一起执行此操作。
This message tell you. that either the credentials in your config is not ok or that root user is not authorized to login.
Best practice is to take your mysql config and try to connect with the mysql command:
Be shure doing this with your application user.