Install Percona 5.6 – Ubuntu 16.04
Percona is a free, fully compatible and high performance drop-in replacement for MySQL server. Percona…
Today we’ll create a new user and grant it access to a single database in MongoDB.
Start off by logging into mongodb with your admin/root user
You’ll land at a prompt like below if successfully authenticated
Issue the following to create a new user, replace the placeholders with your
The prompt will return with “Successfully added user” if successful
That’s it, try logging in using the new credentials:
To verify the credentials, issue the following to see how many databases show up
The prompt should return only one database followed by it’s size.