mongo -h 127.0.0.1 --port 27017 -d club This command is executed on the Linux server. You can connect to the mongo database, and then use mongo related commands to operate the database; If you use java development, you can use jmongo. Connect to mongodb; If you use python to develop, you can use pymongo to connect to mongodb;
mongo -h 127.0.0.1 --port 27017 -d club
This command is executed on the Linux server. You can connect to the mongo database, and then use mongo related commands to operate the database;
If you use java development, you can use jmongo. Connect to mongodb;
If you use python to develop, you can use pymongo to connect to mongodb;
mongo 127.0.0.1:27017/club