When installing MongoDB Community as a local service you need to enter the future credentials of your account :
If I enter for example: user: MongoDB
password : root
I got this error message:
The domain, user name and/or password are incorrect. Remember to use "." for the domain if the account is on the local machine.
What should I write here? Whenever I write something, I get an error.
Running MongoDB as a service gives you some flexibility with how you can run and deploy MongoDB. For example, you can have MongoDB run at startup and restart on failures. If you don't set MongoDB up as a service, you will have to run the MongoDB server every time.
This is due to Mongo Compass which is selected(default) during installation that does not work for Windows 7 64 bit. Please cancel the installation remove the mongodb folder and start reinstalling. During reinstall, uncheck the mongo compass (you have install it manually for Win 7 users).
Here is the solution: Username should be 'username' of your system/device. And password should be password of your system/device. It's weird, but that shall work.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With