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 Connection
button at the top of the connections page.
- Select
MongoDB
from the list.
- Give a
Connection name
for your own internal reference. - Enter your
Hostname
. - The default
Port
for MongoDB is27017
, although your port may be different (read more). - Enter your desired
Database
. - Enter your your MongoDB
Username
andPassword
. - Share the connection with your team.
- Hit
Connect
and 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 7 months ago