How to uninstall mongodb from Windows

733    Asked by JakeSanderson in Python , Asked on Jun 5, 2021

I saw a tutorial that said to run this:

C:mongodbbinmongod.exe --config 
C:mongodbmongod.conf --remove

but that command does not work since there is not a mongod.conf file in the folder of mongodb in my windows, also, I don't want only to stop the service, but I want to remove all, including files, services, etc, it is possible?

Thanks in advance I am using windows 8.1

Answered by Emma Cornish

To uninstall mongodb from windows you can use the below-mentioned command:-

MongoDBinmongod.exe –config C:MongoDBmongod.conf –remove

I hope it helps you!



Your Answer

Interviews

Parent Categories