Skip to content

Commit db81d7d

Browse files
committed
attempt with new connection string
1 parent c2c4ab0 commit db81d7d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/utils/db.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ function getMongoConnectionString () {
2727
logger.info('Using dbName = ' + config.get(`${appEnv}.database`))
2828
logger.info(`Will try to connect to database ${dbName} at ${dbHost}:${dbPort}`)
2929

30-
return `mongodb://${dbLoginPrepend}${dbHost}:${dbPort}/${dbName}`
30+
return `mongodb://${dbLoginPrepend}${dbHost}:${dbPort}/${dbName}?authMechanism=SCRAM-SHA-1`
3131
}
3232

3333
module.exports = {

0 commit comments

Comments
 (0)