[英]Why I can not connect to mongodb from unidac?
I am trying to connect to mongodb from Devart unidac components and I supplied server name like this, I right click on the UniConnection1 and choose "connection editor" and I enter connection parameters: 我试图从Devart unidac组件连接到mongodb,并且提供了这样的服务器名称,我右键单击UniConnection1并选择“连接编辑器”,然后输入连接参数:
Server: 服务器:
cluster0-shard-00-00-xxxxx.mongodb.net
cluster0-shard-00-00-xxxxx.mongodb.net
also port 27017, user name and password but I did not able to connect from Delphi although I was able to connect from mongodb compass. 也是端口27017,用户名和密码,但是尽管我能够从mongodb指南针进行连接,但我无法从Delphi连接。 Any advise ?
有什么建议吗?
here is the error I get 这是我得到的错误
Failed to read 66321 bytes from socket within 300000 milliseconds..
在300000毫秒内无法从套接字读取66321字节。
I am trying to connect to MongoDB Atlas not a local server 我正在尝试连接到MongoDB Atlas而不是本地服务器
升级后,我使用的是旧版本的unidac 7.1.4,因此我也可以正常连接devart odbc dll
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.