ragflow
ragflow copied to clipboard
[Bug]: Issue Connecting an Agent to a Database
Is there an existing issue for the same bug?
- [x] I have checked the existing issues.
RAGFlow workspace code commit ID
448fa1c
RAGFlow image version
v0.16.0 Full
Other environment information
i7 11ºgen
12GB RAM DDR4
Windows 11 Pro (Docker WSL)
Actual behavior
Hello!
I’m testing agents and thought about developing a conversational application that queries a database. However, I encountered an issue and I’m not sure if it’s a bug or a misconfiguration. (yes, i'm testing with the rag_flow database)
What I've tested:
- Before creating the agent, I connected to the database via MySQL Workbench, using the credentials from the
.envfile. The connection was successful, and I was able to access the data normally. - Since both applications are running in separate containers, I configured the database using the WSL IP instead of
localhost, aslocalhostcannot be used in this scenario.
The issue:
- Step 1: The flow indicates that the database is connected successfully.
- Step 2: When I try to run the agent, I get an error stating that the host is unreachable.
Since the initial connection was successful, is there something wrong with the agent configuration, or could this be a platform bug?
Any help is appreciated!
Expected behavior
No error on second task
Steps to reproduce
SQL Module configured > Run agent
Additional information
No response
For the security reason, data base name can not be rag_flow.