You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
How do i execute query with authentication enabled?
Yesterday our app's mongodb data was deleted by some scripts. So that we enabled auth in our mongodb. But now i can't able to query the data. How do i enable auth using mongoose?
The text was updated successfully, but these errors were encountered:
Where username and password are the respective username and password for that specific db, host would be the host where your db is hosted (so localhost or some domain/IP), port is the port mongo listens on, and db is the name of the db you want to connect to
How do i execute query with authentication enabled?
Yesterday our app's mongodb data was deleted by some scripts. So that we enabled
auth
in our mongodb. But now i can't able to query the data. How do i enableauth
using mongoose?The text was updated successfully, but these errors were encountered: