kotaemon icon indicating copy to clipboard operation
kotaemon copied to clipboard

How to access database credentials

Open scalenow opened this issue 11 months ago • 0 comments

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  https://github.com/Cinnamon/kotaemon/blob/bd2490bef108504b988b09347420fa2197b4b425/flowsettings.py#L80, 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 avatar Jan 05 '25 08:01 scalenow