Sunday, May 28, 2017

openedx - mongodb test from external machine


Test with remote access
mongodb machine
root@debian:/home/edu/mongo/mongodb# mongod -f /etc/mongod.conf

from edx machine

root@precise64:/edx/var/mongo/mongodb# mongo --host 192.168.43.39 --port 27017 -uusername -ppassword databasename


change password of edxapp user


when you enter like this warnings are gone

user@system:~$ mongo --host 192.168.43.39 --port 27017 -uusername -ppassword --authenticationDatabase database name

current user
















change edxapp database user passowrd (user also edxapp)

db.changeUserPassword(“edxapp”,”123”)




test


update user

No comments:

Post a Comment