SHARE
TWEET

Untitled

a guest Mar 23rd, 2019 68 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. mongo --host ServerName --port 27017 --username UserName --authenticationDatabase admin #connect to the server from client
  2. mongod --bind_ip_all --auth --dbpath "C:\Program Files\MongoDB\Server\4.0\data" #start up server with authentication
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top