-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Authentication failed error #772
Comments
I was having same issue and then came here on this thread. |
I change the config type to fix this problem.The config may like this
|
I can confirm that the solution above works. I'm using the same server with package version 2 in another app, and it works just fine. |
@jswh I found a better solution. Change:
to
|
@acedude +1 |
There are several solutions, I will close this issue. |
I have this configuration:
It gives me 'auth failed' error. |
Are you sure it's an issue with the package? Don't you have auth disabled on your server? |
Had the same issue today after running composer update. Commenting out username and password worked. |
yes , i have same issue occurs with authentication mongodb username and password error: "127.0.0.1:27017: not authorized for query on telesanteclik.users" in No SQL manager working fine and connect well |
I am using a remote mongo server with password and username.And the configuration looks like this
I got an "Authentication failed" when using the Moloquent and remove the database in the dsn to fix it.
I am not sure how this error happen, speculating it is the duplicated database selections both in constructor and dsn builder cause this error.
The text was updated successfully, but these errors were encountered: