mongorestore[报错]auth error: sasl c onversation error: unable to authenticate using mechanism
mongodump -h ip --authenticationDatabase admin -u user -p password-d 要备份的数据库名 -o 备份到哪个路径
12天前90
mongodump -h ip --authenticationDatabase admin -u user -p password-d 要备份的数据库名 -o 备份到哪个路径
查看了mongo的日志,提示找不到用户("UserNotFound: Could not find user "xxx" for db "xxxx"),明明创建
报错: sasl conversation error: unable to authenticate using mechanism "SCRAM-SHA-256": (Authenticati
解决方法在输入用户名密码的同时添加--authenticationDatabase admin,这个是验证用户名与密码所需的数据库通用的公式是:.mongorestore -h 127.0
问题使用MongoDB Database Tools导出数据时报错:执行的命令是:mongoexport -h 1.20.13.14:6000 --authenticationDatabas
由于直接pip安装会报错,因此前往https:www.lfd.uci.edu~gohlkepythonlibs#sasl下载.whl文件注意下载适配的型号(否则会报错is not a