Abhinms / Infra

0 stars 0 forks source link

How to start Mongo Db #30

Open Abhinms opened 2 years ago

Abhinms commented 2 years ago

cd /CYGNET-MONDB-DATA/application/mongodb-linux-x86_64-rhel70-4.2.2/bin/ ./mongo --port 27020 --authenticationDatabase "admin" -u "Admin" -p "Nmsworks@123$" login to db server use admin db.shutdownServer() kill all process id mongod

to start the Mongo Db cd /CYGNET-MONDB-DATA/application/mongodb-linux-x86_64-rhel70-4.2.2/bin/ ./mongod --config ../conf/mongodb.conf

cd /CYGNET-MONDB-DATA/MongoB_Live/MongoDB/log/ less mongo.log