![]() ![]() "operationTime" : Timestamp(1592640178, 1)Īs you can see in the last image the GUI is trying connect without luck. "hash" : BinData(0,"AAAAAAAAAAAAAAAAAAAAAAAAAAA="), ![]() "syncSourceHost" : "tickets-mongo-depl-0.tickets-mongo-srv:27017", Share your ideas on how to improve Compass here. Find guides, samples, and references on our documentation pages for MongoDB Compass. "syncingTo" : "tickets-mongo-depl-0.tickets-mongo-srv:27017", To learn more and leave feedback: See what your peers are saying and contribute your own findings and considerations through our Community Forums. MongoDB Compass is a simple-to-use, sophisticated GUI that allows any user within your organization to visualize and explore your data with ad-hoc queries. Hard to say which of these is the case just going by the error message. The database is running and theres a server listening at the port you specified, but it is of the wrong type. "lastHeartbeatRecv" : ISODate("T08:03:00.028Z"), Compass attempted to perform a specific operation which required a certain server type (e.g. I have the following information: mongo DB on x.x.xxx. Redsmin is an all-in-one GUI for Redis, a tightly crafted developer oriented, online real-time monitoring and administration service for Redis. "name" : "tickets-mongo-depl-1.tickets-mongo-srv:27017", How to access a remote mongodb through Compass Ask Question Asked 2 years, 5 months ago Modified 2 years, 5 months ago Viewed 9k times 2 Im trying to connect to a mongodb database remotely. "wMajorityWriteAvailabilityDate" : ISODate("T06:29:50.053Z") "electionTimeoutMillis" : NumberLong(10000), This MongoDB training online is designed to quickly get you up and running with MongoDB. "lastElectionReason" : "electionTimeout", "lastStableCheckpointTimestamp" : Timestamp(1592640168, 1), "lastStableRecoveryTimestamp" : Timestamp(1592640168, 1), In the Settings choose how you wish to load the schema. Create a new MongoDB connection by clicking the Create New Connection button. "lastCommittedWallTime" : ISODate("T08:02:58.983Z"), A quick summary follows: Step 1 Navigate to section Connections. "heartbeatIntervalMillis" : NumberLong(2000), I have run the below command to expose the headless service so that i can connect to my database using mongodb compass GUI kubectl port-forward service/tickets-mongo-srv 7000:27017 Service/tickets-mongo-srv ClusterIP None 27017/TCP 6d12h Pod/tickets-mongo-depl-1 1/1 Running 0 50m Pods and the service are working as expected pod/tickets-mongo-depl-0 1/1 Running 0 50m I have created two replicas (replica set name = rs0) of mongodb with a headless service. ![]()
0 Comments
Leave a Reply. |