dify-plugin-tools-dbquery
dify-plugin-tools-dbquery copied to clipboard
无法成功连接本地数据库
Please confirm before submission 在提交之前,请确认
- [x] I have searched for existing issues search for existing issues, including closed ones. 我已经搜索了现有问题搜索现有问题,包括已关闭的问题。"
Dify version Dify版本
1.8.1
db_query or db_query_pre_auth
Database Query 数据库查询
Plugin version 插件版本
0.0.9
database and version 数据库及版本
9.2.0
Problem description 问题描述
我在同一台离线的unbuntu 22.04服务器上,用docker部署了dify 1.8.1服务和mysql 9.2.0服务 我想使用该数据库作为数据源供dify使用。
现在已经在服务器上开通了mysql用户admin并已经授权
SELECT User, Host FROM mysql.user; +------------------+-----------+ | User | Host | +------------------+-----------+ | admin | 127.0.0.1 | | mysql.infoschema | localhost | | mysql.session | localhost | | mysql.sys | localhost | | root | localhost | +------------------+-----------+ 9 rows in set (0.00 sec)
在本服务器上,使用 mysql -h 127.0.0.1 -u admin -p,可以正常连接
但是使用插件,配置如下时
无法正常连接,发生报错
确定密码中没有特殊字符
请问如何解决?