thinkphp5 mongodb Authentication failed
thinkphp5 mongodb Authentication failed 解决办法Bulk write failed due to previous MongoDB\Driver\Exception\AuthenticationException: Authentication failed.原因是/vendor/topthink/think-mongo/src/Connection.php文件中connect方法(大概189行左右)在拼接dns的时候缺少参数$config['dsn']
原创
2022-03-29 16:17:11 ·
2555 阅读 ·
0 评论