[Solved] C# Access Mongodb Database Error: command find failed: Command find requires authentication

The error reports are as follows:


error reason analysis:
literally means that the user name and password authentication are missing, so the database cannot be accessed
solution steps:
1 Add the user name and password to the configuration file connecting to mogondb

run the program again

over

Read More: