Unauthorized dropDatabase in MangoDB
Unauthorized dropDatabase in MangoDB Read More »
You must set an admin and password before using mongDB for security reason. You may receive some error when you login to MongoDB shell.
MongoDB set up admin and security after installed Read More »
I need to find out the duplicate data content in my 40 Millions records, then I can make the unique index to my name field. { allowDiskUse: true} is optional if your data is not huge. { $limit : 5 }, you can set display more data.
Fast way to find duplicate data in MongoDB Read More »
Paste this to the file and save using :wq Download and install mongodb using yum Start mongod and configure auto start while system boot Check all the versions Test the connection
How to Install MongoDB 3.2 on CentOS 7 Read More »
After I install MongoDB 3.2.3 in Centos 7, I received this error when I start mongo in shell. Solution Create the init.d script. Create the following file at /etc/init.d/disable-transparent-hugepages: Make it executable. Run the following command to ensure that the init script can be used:
WARNING: /sys/kernel/mm/transparent_hugepage/enabled is ‘always’. Read More »
Solution I’m using the OVH kernel, so it is impossible to use with MongoDB, to solve this issue I have to install back the original kernel of the linux, then this error will be gone.
I’ve received this error while starting mongo in shell while installing on Solution Then put in and