当前位置:网站首页>Teach you how to view version information with mongodb
Teach you how to view version information with mongodb
2022-06-24 15:33:00 【PHP Development Engineer 】
This article mainly introduces about MongoDB How to view information about version information , In this paper, the example code is introduced in detail , It has certain reference learning value for everyone's study or work , Friends in need, let's study together with Xiaobian |
|---|
1: Connect to MongoDB, Use see .
> db.version(); 4.0.0 >
2:mongo see
Relative path usage mongo command
# ./mongo --version MongoDB shell version v4.0.0 git version: 3b07af3d4f471ae89e8186d33bbb1d5259597d51 OpenSSL version: OpenSSL 1.0.1e-fips 11 Feb 2013 allocator: tcmalloc modules: none build environment: distmod: rhel62 distarch: x86_64 target_arch: x86_64
Or use absolute path
# /usr/local/mongodb/bin/mongo --version
3: Use mongod see
# ./mongod --version db version v4.0.0 git version: 3b07af3d4f471ae89e8186d33bbb1d5259597d51 OpenSSL version: OpenSSL 1.0.1e-fips 11 Feb 2013 allocator: tcmalloc modules: none build environment: distmod: rhel62 distarch: x86_64 target_arch: x86_64
About mongo And mongod The difference between
mongod Is dealing with MongoDB The main process of the system . It processes data requests , Manage data storage , And perform background management operations . When we run mongod Command means starting MongoDB process , And run it in the background .
mongo Is a command line tool for connecting to a specific mongod example . When we don't run with parameters mongo Command it will use the default port number and localhost Connect
This is about MongoDB This concludes the article on how to view version information
Original address :
come from “ Open source world ” , link :http://ym.baisou.ltd/?id=488, If you want to reprint , Please indicate the source , Otherwise, the legal liability will be investigated .
边栏推荐
- [sdx62] wcn685x IPA registration failure analysis and solution
- R语言实战应用精讲50篇(二十三)-贝叶斯理论重要概念: 可信度Credibility, 模型Models, 和参数Parameters
- Carry forward the fine style of continuous operation and go all out to ensure the safety of Beijiang Levee
- This website teaches you to imitate more than 100 well-known websites!
- A brief introduction to the lexical analysis of PostgreSQL
- June training (day 23) - dictionary tree
- "Industry outlook" analysis of five major trends in China's security video surveillance industry
- QTreeWidget作为单例模式以dll返回的两个问题
- Concurrent writing of maps in golang
- QoS Technology in network
猜你喜欢

Keyword of ES mapping; Term query add keyword query; Change mapping keyword type

Port conflict handling method for tongweb

熬夜整理出的软件测试【高频】面试题大全(2022最新)

Brief discussion on the implementation framework of enterprise power Bi CI /cd

Multimeter resistance measurement diagram and precautions

ES mapping之keyword;term查询添加keyword查询;更改mapping keyword类型

刚刚阿里面软件测试回来,3+1面任职阿里P7,年薪28*15薪

Do you really know the difference between H5 and applet?

常见的缺陷管理工具——禅道,从安装到使用手把手教会你

左手代码,右手开源,开源路上的一份子
随机推荐
证券账户理财安全吗??
A simple and powerful developer toolkit box3 cc
How do individuals open accounts for stock speculation? Is it safe to open accounts for stock speculation
leetcode 139. Word break word split (medium)
Step by step introduction to sqlsugar based development framework (9) -- Realizing field permission control with WinForm control
Linux Installation cenos7 MySQL - 8.0.26
golang中Map的并发写入
A common defect management tool - Zen, which teaches you from installation to using the handle
Is industrial securities reliable? Is it safe to open a securities account?
个人如何开户炒股 炒股开户安全吗
刚刚阿里面软件测试回来,3+1面任职阿里P7,年薪28*15薪
Analysis of dompurify
07. Tencent cloud IOT device side learning - Data Template
Phpcms upgrade editor method -- simple and effective
Monitoring and warning | is the website attacked?
[log service CLS] a taste of Tencent cloud log service CLS
How to allow easydss online classroom system to upload an on-demand file with a space in the file name?
update+catroot+c000021a+critical service failed+drivers+intelide+viaide+000000f
设备通过国标GB28181接入EasyCVR平台,出现断流情况该如何解决?
Cloud + community [play with Tencent cloud] essay solicitation activity winners announced