Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't connect to databases #1495

Open
ruikangzhou opened this issue May 7, 2024 · 1 comment
Open

Can't connect to databases #1495

ruikangzhou opened this issue May 7, 2024 · 1 comment

Comments

@ruikangzhou
Copy link

I tried the ChatDB function but according to its answer, it doesn't seem to be connecting to a database, even though I've manually add my sqlite database on http://127.0.0.1:5670/database/ and chosen one that corresponds to my question.

屏幕截图 2024-05-07 172606

My database setting in .env is like the following:

##
#** DB-GPT METADATA DATABASE SETTINGS **#
#
#

SQLite database (Current default database)

LOCAL_DB_PATH=D:/DBGPT/DB-GPT/pilot/data
LOCAL_DB_TYPE=sqlite

Can someone tell me how to check if the database has succesfully connected to DB-GPT?

@fangyinc
Copy link
Collaborator

Hi @ruikangzhou , please try it in Chat Data.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants