How to get Mongodb_URI

How to get Mongodb_URI

john_phonk
  1. Go to cloud.mongodb.com and create an account there.
  2. Click create organization


3. Come up with a name for your organization.

4. Click Next.

5. Click "Create Organization".

6. Click New Project.

7. Come up with a name for your project.

8. Click New Project.

9. Click "Create Cluster".

10. Choose the free version.

11. Wait 1-3 minutes.

12. Click CONNECT.

13. Then select the items shown in the screenshots.

13.5. Come up with a username and password for your database


14. Select driver [python] version [3.6 or newer].

15. Copy this line and paste it into the db_url variable in config.ini.

16. Replace <password> with your password that you specified in step 13.5 [Be sure to remove the <> characters]

17. Replace myFirstDatabase with john_phonk

18. At the end of all the actions you have done, you should get a similar line:

mongodb+srv://Test:Testpass@cluster0.q9mhx.mongodb.net/john_phonk?retryWrites=true&w=majority




Report Page