目录

问题背景

解决之道


问题背景

连接mongo集群报错,多次遇到多条错误,全部贴出来:

ERRO[0047] Cannot connect to MongoDB: connection() error occured during connection handshake: auth error: sasl conversation error: unable to authenticate using mechanism "SCRAM-SHA-256": (AuthenticationFailed) Authentication failed.

ERRO[0027] Cannot connect to MongoDB: error parsing uri: invalid password: invalid URL escape "%2O"

ERRO[0005] Cannot connect to Mongo

更多推荐

成功解决[0027] Cannot connect to MongoDB: error parsing uri: invalid password: inval