Skip to content

Error of MONGODB_URL | MONGODB local setup #176

Discussion options

You must be logged in to vote

To resolve this error, You have to setup your own local mongodb connection.

  1. First you have to download MongoDB Compass from the official website.

  2. Setup in your system by watching any youtube tutorial.

  3. Create a simple & new connection using MONGODB COMPASS.

  4. As you can watch, I've created a local MONGODB_URI = mongodb://localhost:27017/?readPreference=primary&ssl=false&directConnection=true

  5. Now, click the connect button simply and start the database server locally.

  6. Come to the codebase and create a file named secrets.toml under .streamlit folder as provided 1 more file with the name of secrets.example.toml.

  7. Now, copy and paste all the credentials of later file into secrets.toml

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Avdhesh-Varshney
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant