I need help connecting to my database

Hi, i was wondering if i can connect my databse (mongodb) to the replits database. How can i do that? Do i store my URL in the secrets or what?


You can’t connect your mongo database to Replit’s ReplDB but you can just use your mongo database using the mongodb library for whatever language you’re using.


Will this become a feature in the near future or in the development?

No, because it doesn’t make sense. They’re 2 quite different database models. Why do you want to do this?

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.