javascript - About mongodb authentication issues
大家讲道理
大家讲道理 2017-06-10 09:48:05
0
1
832

Figure 1 shows user addition under admin when the authentication function is not turned on

Figure 2 is to modify the configuration and restart the service

Figure 3 shows the admin set that enters the database with the authentication function turned on and performs authentication. The authentication is successful. Why does it still prompt that it is not authenticated when executing the command? ?

mongodb is version 3.4

大家讲道理
大家讲道理

光阴似箭催人老,日月如移越少年。

reply all(1)
迷茫

Not authorized: Insufficient permissions. You need to be given permission to manage multiple databases, including listdatabases.

Please refer to:

https://docs.mongodb.com/manu...

Love MongoDB! Have fun!

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template