Problems in executing a query in mongodb -


i have exception being thrown mongodb connection

wed may 11 10:39:33 assertion: 10057:unauthorized db [inbox] lock type: -1

where inbox database. using php driver connection. problem using admin username , password connection still throwing unauthorized. can please provide insights.

authenticating admin requires run authenticate command in admin database before changing regular database. authenticating admin user say, test not work.

for case, connect admin, run authenticate admin user, , handle on inbox. alternately should create user specific inbox database safety. connecting superuser application isn't best idea.


Comments

Popular posts from this blog

c# - how to write client side events functions for the combobox items -

exception - Python, pyPdf OCR error: pyPdf.utils.PdfReadError: EOF marker not found -