1, add a useradminanydatabase user, this is a user can manage all users, similar to the Super Admin bar#打开mongo Shell#添加超级管理账号> Use admin #进入admin表> Db.createuser (... {... User: "MyAdmin",... pwd: "Redhat",... roles:[{role: "Root", DB: "admin"}]...
1, add a useradminanydatabase user, this is a user can manage all users, similar to the Super Admin bar
#打开mongo Shell
[root@localhost]# MONGO
#添加超级管理账号
> Use admin #进入admin表
> Db.createuser (
{ User
: "myadmin",
pwd: "Secret",
First, create a MongoDB backup directoryUsed to store datamkdir -p /data/mongodb_bak/mongodb_bak_nowmkdir-p /data/mongodb_bak/mongodb_bak_listIi. Creating a MongoDB database backup script#!/bin/bash#Dump=/usr/local/mongodb/bin/mongodump
15 required MySQL management tools for DBAs
Today, the response speed of Web applications is one of the keys to success. It is closely related to user interaction, users' views on websites, and even Google website rankings. Database performance is
15 best MySQL management tools and applications and 15 mysql applications
To do well, you must first sharpen your tools. Almost every developer has a favorite MySQL management tool, which helps developers support a variety of databases including
15 required MySQL management tools for DBAs and 15 required mysql for DBAs
Original article: http://www.techxue.com/techxue-11898-1.html
Today, the response speed of Web applications is one of the keys to success. It is closely related to user
Original: http://www.techxue.com/techxue-11898-1.htmlToday, the responsiveness of Web applications is one of the keys to success. It interacts with users, users of the site's views, and even the Google site rankings have an inseparable relationship.
工欲善其事, its prerequisite. Almost every developer has a favorite MySQL management tool that helps developers support a variety of databases, including Postgresql,mysql,sqlite,redis,mongodb, in many ways, and provides the latest features, including
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.