Home > database >  Mongo how close authority certification
Mongo how close authority certification

Time:11-07

Because there is no boot mongo installation when the default permissions authentication, it is in the machine running, so my script is very simple,
 myclient=pymongo. MongoClient (' mongo://localhost: 27017/') 

Recently accidentally get database collapsed, according to online posts in the database, accidentally opened, the limits of authority, and this led to me all the scripts run error!!

 pymongo. Errors. OperationFailure: not authorized on 

According to unauthorized,
How online search to the full open access authentication, but no one tell me how to shut down!!!!!!

CodePudding user response:

The command line or in the configuration file open, remove the corresponding item
  • Related