J
J
Jek2021-01-14 08:54:59
MongoDB
Jek, 2021-01-14 08:54:59

How to change database location in MongoDB?

Hello. I installed monga on the C drive and forgot it for a couple of months, now the C drive is full, how can I change the location of the saved databases? it is desirable for the whole Monga and not just for specific programs, I have Windows 10, but I would like to know for Linux as well.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vladimir Korotenko, 2021-01-14
@firedragon

first request, what doesn't work?
https://dba.stackexchange.com/questions/175696/fast...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question