I am trying to build a MERN stack application. I am using MongoDB Atlas. I have a collection named test under which I have a database called test also. Here is my URL:
URL: mongodb+srv://sadit:@mern.e18zz.mongodb.net/?retryWrites=true&w=majority
Password is ***** for just example.
I put as test without any tags “<>”.
When I try to establish connection, it says connection failed. May I know my error?
Most video tutorials show the MongoDB URL with a supposedly pre-made database name called “test”, but I noticed nowadays one has to put it. So I just created one.
Please guide me. Thanks in Advance.
I am referring to the video by Beau Carnes.