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

Mongodb

Mongodb Problem Overview


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.

Mongodb Solutions


Solution 1 - Mongodb

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.

Solution 2 - Mongodb

Here's the solution for Windows 10(x64):

  • If you don't have a domain (for home or personal computers), leave the domain field with "."

  • If your computer is owned by your company, contact your system administrator and then in the domain field type : Company_Domain

  • In the username field,

    • for personal computers : type your username. If you're signed in with a Microsoft Account, type the email address or the name of your Microsoft Account.

    • for company provided machines : type your username as Company_Domain/Your_Username

  • In the password field type the password not the PIN number (if you've set it up).

That should help.

Solution 3 - Mongodb

I had admin user without password.I had set password and try installation and give local admin user and password.it work for me.

Solution 4 - Mongodb

Here is the best solution: Provide your system/device Username and password. And password should be password of your system/device. It's weird, but it shall work.

Solution 5 - Mongodb

quit intall . restart install msi file,and select default option

Solution 6 - Mongodb

I used the a similar solution as Khan. I went to the download directory and when I executed the msi file this time, I was asked whether the Compass option should be installed. After unchecking that, the rest of the install worked, using default options. This is a Windows 10 laptop.

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
QuestionRoman LototskyiView Question on Stackoverflow
Solution 1 - MongodbABHISHEK THEPRAView Answer on Stackoverflow
Solution 2 - MongodbManoj KumarView Answer on Stackoverflow
Solution 3 - MongodbVisheView Answer on Stackoverflow
Solution 4 - MongodbKrushnaView Answer on Stackoverflow
Solution 5 - MongodbwillimView Answer on Stackoverflow
Solution 6 - Mongodbhull39View Answer on Stackoverflow