Skip to content

Inconsistent script database name in Quick Start causes docker-compose service startup to fail #244

@96loveslife

Description

@96loveslife

【Scenes】
According to the quick start document, use the docker-compose command to start the service, but the database authentication fails

【Reason】
db.js

  • mongodb init database name is servicecomb
  • db.js init database name is kie
 {
        user: "kie",
        pwd: "123",
        roles:[
            {
                role: "readWrite",
                db:   "kie"
            }
        ]
    }

[Error Log]
can not dial db:server returned error on SASL authentication step: Authentication failed

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