使用MongoDB和mLab导入JSON
我正在尝试使用以下步骤将JSON导入mLab上的沙箱集群:使用MongoDB和mLab导入JSON,mongodb,mlab,Mongodb,Mlab,我正在尝试使用以下步骤将JSON导入mLab上的沙箱集群: 我跑蒙哥德 打开“新建”选项卡并运行以下指向my mlab群集的命令: 在阅读更多内容后,我还添加了选项--ssl和--sslAllowInvalidCertificates,我得到以下错误: Failed: error connecting to db server: no reachable servers, openssl error: read tcp 192.168.1.69:51933->54.225.0.238:2
在阅读更多内容后,我还添加了选项
--ssl
和--sslAllowInvalidCertificates
,我得到以下错误:
Failed: error connecting to db server: no reachable servers, openssl error: read tcp 192.168.1.69:51933->54.225.0.238:27341: read: connection reset by peer
鉴于这些奇怪的错误,有没有人对如何将json导入mlab集群有什么建议?
MongoDB文档中有一个标志--authenticationDatabase admin,它可能会有帮助-。不幸的是,我遇到了另一个问题(
mongoimport未定义
),因此无法验证这是否有帮助。MongoDB文档中有一个标志--authenticationDatabase admin,可能有帮助-。不幸的是,我遇到了另一个问题(mongoimport未定义
),因此无法验证这是否有帮助。
Failed: error connecting to db server: server returned error on SASL authentication step: Authentication failed.
Failed: error connecting to db server: no reachable servers, openssl error: read tcp 192.168.1.69:51933->54.225.0.238:27341: read: connection reset by peer