A
A
Alexander Antonov2014-03-01 16:09:58
MongoDB
Alexander Antonov, 2014-03-01 16:09:58

How to set up MongoDB on Windows?

I downloaded mongodb, but I just can’t figure out how to use it and set up at least one database . I’ve
never come across it before, but now I need to make friends with nodejs mongodb.
It is required to create a base along the path mongodb://localhost/baseUser .
Tell me how to do it?
You can link to the normal documentation.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
magic_ball, 2014-03-01
@magic_ball

Just start mongodb, give it any path for db (an empty folder, mongo will create it itself) and refer to the URL mongodb://localhost :27017 /baseUser
The baseUser base will be created automatically when you write something to it.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question