Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

MongoDB Community : Error when installing service as local or domain user [closed]

Tags:

mongodb

When installing MongoDB Community as a local service you need to enter the future credentials of your account :

enter image description here

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.

error

What should I write here? Whenever I write something, I get an error.

like image 834
Roman Lototskyi Avatar asked Aug 30 '18 08:08

Roman Lototskyi


People also ask

Should MongoDB run as Network Service user?

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.

Why is MongoDB not installing on Windows 7?

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).


1 Answers

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.

like image 92
ABHISHEK THEPRA Avatar answered Sep 29 '22 07:09

ABHISHEK THEPRA