a guest Mar 23rd, 2019 68 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- mongo --host ServerName --port 27017 --username UserName --authenticationDatabase admin #connect to the server from client
- mongod --bind_ip_all --auth --dbpath "C:\Program Files\MongoDB\Server\4.0\data" #start up server with authentication
RAW Paste Data