mirror of
https://github.com/YunoHost-Apps/nodebb_ynh.git
synced 2024-09-03 19:46:29 +02:00
Update remove
This commit is contained in:
parent
9eeefaccdf
commit
ccc922b89d
1 changed files with 1 additions and 1 deletions
|
@ -45,7 +45,7 @@ fi
|
|||
# REMOVE THE MONGO DATABASE
|
||||
#=================================================
|
||||
|
||||
mongo --shell "$dbname" --eval 'db.dropUser("$dbuser", {w: "majority", wtimeout: 5000})' <<< exit
|
||||
mongo --shell "$dbname" --eval "db.dropUser('$db_user', {w: 'majority', wtimeout: 5000})" <<< exit
|
||||
#mongo -u $dbuser -p$dbpass --authenticationDatabase $dbname --shell "$dbname" --eval 'db.dropUser('dbuser');' <<< exit
|
||||
mongo --shell "$dbname" --eval 'db.runCommand({dropDatabase: 1})' <<< exit
|
||||
#mongo -u $dbuser -p$dbpass --authenticationDatabase $dbname --shell "$dbname" --eval 'db.dropDatabase();' <<< exit
|
||||
|
|
Loading…
Reference in a new issue