-
Couldn't load subscription status.
- Fork 52
Open
Description
5.1的vendor/topthink/think-mongo/src/Connection.php:188
$host = 'mongodb://' . ($config['username'] ? "{$config['username']}" : '') . ($config['password'] ? ":{$config['password']}@" : '') . $config['hostname'] . ($config['hostport'] ? ":{$config['hostport']}" : '');
5.0的vendor/topthink/think-mongo/src/Connection.php:154
$host = 'mongodb://' . ($config['username'] ? "{$config['username']}" : '') . ($config['password'] ? ":{$config['password']}@" : '') . $config['hostname'] . ($config['hostport'] ? ":{$config['hostport']}" : '') . '/' . ($config['database'] ? "{$config['database']}" : '');
为什么一个有$config['database'],一个没有呢,这导致我授权出现了问题。
Metadata
Metadata
Assignees
Labels
No labels