Connecting to MongoDB
Note: PopSQL supports MongoDB only as a cloud connection. Additionally, the connection is only supports using the mongodb+srv protocol.
- Open the connections page in preferences, see managing connections for more information.
- Click the
Add new Connectionbutton at the top of the connections page.

- Select
MongoDBfrom the list.

- Give a
Connection namefor your own internal reference. - Enter your
Hostname. - The default
Portfor MongoDB is27017, although your port may be different (read more). - Enter your desired
Database. - Enter your your MongoDB
UsernameandPassword. - Share the connection with your team.
- Hit
Connectand you're all set!
There will not be a schema in the left sidebar for MonoDB since it does not have the same table and column structure as a SQL database.
Happy querying! 🍭
Updated 3 months ago
