I am trying to connect to my mongo data base and perform some commands on it such as:
#!/bin/bash
mongo myMongoDbip:27017/admin -u username -p pwd
mongo --shell --eval "use neura_staging"
i can connect to the data base but all my other commands are not working such as using specific db.
can you elaborate some info about it?
thanks!