MongoDB Basic Commands
Login to instance mongosh “mongodb://hostname_of_mongo:27017” –username XXXXXXXX –authenticationDatabase admin Change Database use admin Create user…
Read MoreLogin to instance mongosh “mongodb://hostname_of_mongo:27017” –username XXXXXXXX –authenticationDatabase admin Change Database use admin Create user…
Read More/usr/bin/mysqldump –single-transaction –lock-tables=false mydb | gzip > /var/mydb.sql.gz
Read More