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

How to access database credentials #600

Open
scalenow opened this issue Jan 5, 2025 · 0 comments
Open

How to access database credentials #600

scalenow opened this issue Jan 5, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@scalenow
Copy link

scalenow commented Jan 5, 2025

Description

Hi Authors,
Happy new year 

I want to connect to kotaemon database and retrieve and create users is there a way to find out the information.You had suggested to look in to the following link  

KH_DATABASE = f"sqlite:///{KH_USER_DATA_DIR / 'sql.db'}"
, which I did , can only find the following information, which does not say anything   

KH_ENABLE_ALEMBIC = False
KH_DATABASE = f"sqlite:///{KH_USER_DATA_DIR / 'sql.db'}"
KH_FILESTORAGE_PATH = str(KH_USER_DATA_DIR / "files")

Is there a way to find out the following information and are there any restrictions in connecting to the db
database: primary_dbusername: your_usernamepassword: your_passwordhost: localhost
Thanks for your help 

regards
Abhi

Reproduction steps

None

Screenshots

![DESCRIPTION](LINK.png)

Logs

No response

Browsers

No response

OS

No response

Additional information

No response

@scalenow scalenow added the bug Something isn't working label Jan 5, 2025
@scalenow scalenow changed the title [BUG] How to access database credentials Jan 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant