mirror of
https://github.com/wekan/wekan.git
synced 2025-12-17 07:50:12 +01:00
Add commands
parent
371ac11138
commit
7a7829ac10
1 changed files with 7 additions and 5 deletions
|
|
@ -33,7 +33,7 @@ https://docs.mongodb.com/manual/reference/mongo-shell/
|
||||||
like this:
|
like this:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
> mongo
|
> mongo <==== START MONGO CLI
|
||||||
MongoDB shell version: 3.2.7
|
MongoDB shell version: 3.2.7
|
||||||
connecting to: test
|
connecting to: test
|
||||||
Server has startup warnings:
|
Server has startup warnings:
|
||||||
|
|
@ -44,12 +44,12 @@ Server has startup warnings:
|
||||||
2016-06-25T11:39:55.913+0000 I CONTROL [initandlisten] ** WARNING: /sys/kernel/mm/transparent_hugepage/defrag is 'always'.
|
2016-06-25T11:39:55.913+0000 I CONTROL [initandlisten] ** WARNING: /sys/kernel/mm/transparent_hugepage/defrag is 'always'.
|
||||||
2016-06-25T11:39:55.913+0000 I CONTROL [initandlisten] ** We suggest setting it to 'never'
|
2016-06-25T11:39:55.913+0000 I CONTROL [initandlisten] ** We suggest setting it to 'never'
|
||||||
2016-06-25T11:39:55.913+0000 I CONTROL [initandlisten]
|
2016-06-25T11:39:55.913+0000 I CONTROL [initandlisten]
|
||||||
> show dbs
|
> show dbs <=== SHOW DATABASES
|
||||||
admin 0.034GB
|
admin 0.034GB
|
||||||
local 0.000GB
|
local 0.000GB
|
||||||
> use admin
|
> use admin <=== CHANGE TO USE ADMIN DATABASE
|
||||||
switched to db admin
|
switched to db admin
|
||||||
> show collections
|
> show collections <=== SHOWS TABLES
|
||||||
activities
|
activities
|
||||||
boards
|
boards
|
||||||
card_comments
|
card_comments
|
||||||
|
|
@ -66,7 +66,9 @@ meteor-migrations
|
||||||
meteor_accounts_loginServiceConfiguration
|
meteor_accounts_loginServiceConfiguration
|
||||||
presences
|
presences
|
||||||
users
|
users
|
||||||
> exit
|
> db.users.find() <=== LISTS ALL USERS
|
||||||
|
(list of all users here)
|
||||||
|
> exit <=== EXIT MONGO CLI
|
||||||
```
|
```
|
||||||
|
|
||||||
5) Go to /data directory:
|
5) Go to /data directory:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue