I am facing problem while connecting mongodbCompass to Backend
enter image description here
i trying it to connect backend, but i am facing difficulty to initilize db in mongodb compass, in backend i have connected it, its my first db in mogodbcompass
2
Answers
when facing issue on mongodb compass make sure that the connection string is correct with that of nodejs backend,
Please check this link
https://www.mongodb.com/blog/post/quick-start-nodejs-mongodb-how-to-get-connected-to-your-database
Check the console or please tell the errors that you’re getting while connecting in console.