Apply below code in command prompt to change DB path of Mongo database:
C:\Program Files\MongoDB\Server\3.2\bin> mongod.exe --dbpath <folderlocation> (example D:\mongo\data)
C:\Program Files\MongoDB\Server\3.2\bin> mongod.exe --dbpath <folderlocation> (example D:\mongo\data)
No comments:
Post a Comment