The test database of mongodb is always cleared
阿神
阿神 2017-05-02 09:24:11
0
3
741

Don’t know much about mongodb

The test environment uses the test database

After a period of time, the permissions and data tables of the test database will be automatically cleared

Don’t know where to see the operation log?


Operating environment

os: centos 7.x

mongodb: 2.6

阿神
阿神

闭关修行中......

reply all(3)
淡淡烟草味

1. Set the profile, and then view the database operation log, for example:

设置:
db.setProfilingLevel(2)
db.getProfilingLevel()

查看:
db.system.profile.find()

2. For important systems, it is recommended to use MongoDB Enterprise Edition. The Enterprise Edition provides complete security audit functions.

For reference.

Love MongoDB, Have fun!

黄舟

You can view the logs. I guess it was hacked by some criminals, just like me

Then I checked the collection of this database and found this

So the online database is very safe It's important!

小葫芦

I guess there are testset scheduled tasks, scheduled clearing, etc.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template