-
Notifications
You must be signed in to change notification settings - Fork 8
Login to mongodb
ErhardSiegl edited this page Sep 30, 2018
·
1 revision
How to connect to Mongo-DB
Locate the active Mongodb pod:
- Login to OpenShift
- Switch to the Hogarama project
- Navigate to the active MongoDb pod (Applications->Pods-> active mongodb pod)
Navigate to the tab Environment and remember the following properties:
- MONGODB_USER (default
hogajama
) - MONGODB_PASSWORD (default
hogajama@mongodb
) - MONGODB_DATABASE (default
hogajamadb
)
Navigate to the tab Terminal and execute the following command with the appropriate values:
mongo 127.0.0.1:27017/MONGODB_DATABASE -u MONGODB_USER -p MONGODB_PASSWORD
e.g:
sh-4.2$ mongo 127.0.0.1:27017/hogajamadb -u hogajama -p hogajama@mongodb
MongoDB shell version: 3.2.10
connecting to: 127.0.0.1:27017/hogajamadb
>
- Home
- Setup Guide
- Using Hogarama
-
Cloud Components
- AMQ
- MongoDB
- Single Sign On
- Hogajama
- Kafka
- Habarama
- Troubleshooting Hogarama
- Optional Modules
- Developer Guideline