Php 服务器中的MongoDB连接
当我尝试从Drupal站点连接MongoDB时,我遇到了以下错误“ MongoDB\Driver\Exception\AuthenticationException:身份验证 失败。在MongoDB\Driver\Server->executeCommand()中Php 服务器中的MongoDB连接,php,mongodb,drupal-7,Php,Mongodb,Drupal 7,当我尝试从Drupal站点连接MongoDB时,我遇到了以下错误“ MongoDB\Driver\Exception\AuthenticationException:身份验证 失败。在MongoDB\Driver\Server->executeCommand()中 你能帮我解决这个问题吗?你能分享一些代码吗?MongoDB\Driver\Exception\ConnectionTimeoutException:找不到合适的服务器(serverSelectionTryOnceset):[无法解决]
你能帮我解决这个问题吗?你能分享一些代码吗?MongoDB\Driver\Exception\ConnectionTimeoutException:找不到合适的服务器(
serverSelectionTryOnce
set):[无法解决]2018@199.188.207.96“]在MongoDB\Driver\Manager->selectServer()中(第548行/home/epixel/public_html/newproject/financial academy/sites/all/modules/custom/afl_mongodb/vendor/mongodb/mongodb/src/Collection.php)。