Skip to content
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

jenssegers/laravel 3.2.2 mongodb 2.6 error, someone help me! #1285

Closed
langming opened this issue Sep 4, 2017 · 1 comment
Closed

jenssegers/laravel 3.2.2 mongodb 2.6 error, someone help me! #1285

langming opened this issue Sep 4, 2017 · 1 comment
Labels

Comments

@langming
Copy link

langming commented Sep 4, 2017

Fatal error: Uncaught MongoDB\Driver\Exception\AuthenticationException: auth failed in /var/www/html/vendor/mongodb/mongodb/src/Operation/Find.php:219 Stack trace: #0 /var/www/html/vendor/mongodb/mongodb/src/Operation/Find.php(219): MongoDB\Driver\Server->executeQuery('homepage_flow.p...', Object(MongoDB\Driver\Query), Object(MongoDB\Driver\ReadPreference)) #1 /var/www/html/vendor/mongodb/mongodb/src/Collection.php(525): MongoDB\Operation\Find->execute(Object(MongoDB\Driver\Server)) #2 [internal function]: MongoDB\Collection->find(Array, Array) #3 /var/www/html/vendor/jenssegers/mongodb/src/Jenssegers/Mongodb/Collection.php(43): call_user_func_array(Array, Array) #4 /var/www/html/vendor/jenssegers/mongodb/src/Jenssegers/Mongodb/Query/Builder.php(389): Jenssegers\Mongodb\Collection->__call('find', Array) #5 /var/www/html/vendor/jenssegers/mongodb/src/Jenssegers/Mongodb/Query/Builder.php(206): Jenssegers\Mongodb\Query\Builder->getFresh(Array) #6 / in /var/www/html/vendor/mongodb/mongodb/src/Operation/Find.php on line 219

@divine
Copy link
Contributor

divine commented Feb 16, 2020

Hello,

Please check that you've given correct permission for connecting user.

Sorry for late reply.
Thanks.

@divine divine closed this as completed Feb 16, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants