globalsign / mgo

The MongoDB driver for Go
Other
1.97k stars 232 forks source link

error="no reachable servers" #405

Open danchengash opened 1 year ago

danchengash commented 1 year ago

session, err := mgo.Dial("mongodb://user:login@localhost:27017")

the err returned sis no reachable server on go 1.19.2

any solution

Sata51 commented 1 year ago

The GO version does not seems to affect mgo, but the mongodb version 6 does not seems to be supported