'--dbpath not working to change where to store databases in mongoDB
When running the command to set a new directory where to store databases it doesn't work.
This is the command I'm running:
mongod --dbpath C:\Program Files\MongoDB\Server\5.0\nik_db_folder
This is The error I get
\uncaught exception: SyntaxError: unexpected token: identifier : @(shell):1:9
I have also tried to enclose the file path in double quotes but it doesn't work anyway.
Can anyone help me to understand what's the error here?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
