The MSI installer ask if we want to install MonboDB as a service. Then, doesn’t matter what value are entered it always end the following 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.
it seems also described here :
And here :
Please try your Windows username/password
It works but I don’t get why I should give those sensitive data to MongoDB and why other DBMS such as MySQL doesn’t need it to install
horrible, I want days where i could install software without giving so much information! For free edition? seriously mongodb, I don’t even have my password setup in windows it is PIN! What a horrible UX, made account just to vent out
Hello @Ruth_H_Gilbreath, and welcome to the MongoDB Community forums!
The post you replied to talks about setting up
mongod to run as a service. You are providing that info to the Windows OS to run the service. This is a Windows thing, not MongoDB. Note that this information is not sent to either MongoDB or Microsoft. The only time you’re providing information directly to MongoDB is if you’re creating an Atlas account, but then you’re not installing MongoDB on your Windows system in that case.
You can run MongoDB on Windows without setting it up as a service. Doing this however means that you have to manually run the
mongod command before using the database.
Using Windows Username/Password seems not working when we use a Windows email address to login as admin on our computer.
I’m using Windows 11, and I log on my computer with an outlook email address. Windows display as Username my firstname and my lastname with a space between.
Neither Firstname alone, nor Firstname + Lastname, nor email address, work with MongoDB installation.
What error you get with email address?
Try domain/ID or firstname.lastname or give your I’d with space in quotes
If none works you have to install it as not as service as Doug suggested above
Disadvantage with this is you have to start mongod manually
Other options don’t use installer use command line install passing minimum parameters
Check mongo documentation
I just came across your post and wanted to say that I had a similar issue when installing MongoDB locally on Windows 10. It can be a bit frustrating, but I managed to fix it by making sure I entered the correct domain, username, and password.