Skip to content

Heroku error when connecting to mongoDB via Mongoose #18

@brauliodiez

Description

@brauliodiez

Error:

_Db.prototype.authenticate method will no longer be available in the next major release 3.x as MongoDB 3.6 will only allow auth against users in the admin db and will no longer allow multiple credentials on a socket. Please authenticate using MongoClient.connect with auth credentials

Workaounrd (bottom of this file):

Automattic/mongoose#5399

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions