简体   繁体   中英

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:

Server:

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. Any advise ?

here is the error I get

Failed to read 66321 bytes from socket within 300000 milliseconds..

I am trying to connect to MongoDB Atlas not a local server

升级后,我使用的是旧版本的unidac 7.1.4,因此我也可以正常连接devart odbc dll

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM