问题描述
这是我的命令
mongoimport --host <hostname>.mongodb.net:27017 --db <databasename> --collection <collectionname> --type csv --file <filename>.csv --headerline --authenticationDatabase admin --username <username> --password <password> --authenticationMechanism SCRAM-SHA-1
这是我收到的“礼物”。我第一次尝试 mongoimport 到 atlas。
2021-05-02T20:22:01.292+0300 error connecting to host: could not connect to server: server selection error: server selection timeout,current topology: { Type: Single,Servers: [{ Addr: <hostname>.mongodb.net:27017,Type: Unknown,State: Connected,Average RTT: 0,Last error: connection() : connection(<hostname>.mongodb.net:27017[-61]) incomplete read of message header: EOF },] }
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)