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 备份到哪个路径
解决方法在输入用户名密码的同时添加--authenticationDatabase admin,这个是验证用户名与密码所需的数据库通用的公式是:.mongorestore -h 127.0
问题使用MongoDB Database Tools导出数据时报错:执行的命令是:mongoexport -h 1.20.13.14:6000 --authenticationDatabas