Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pb-seo-friendly-images domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /var/www/html/pcx3.com/wp-includes/functions.php on line 6121

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the johannes domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /var/www/html/pcx3.com/wp-includes/functions.php on line 6121
Check MongoDB Version in Windows / 🐧 Linux - PC✗3
Check MongoDB Version in Windows / 🐧 Linux

Check MongoDB Version in Windows / 🐧 Linux

Summary:

To check mongodb version use the mongod command with –version option.

To check mongodb version use the mongod command with –version option.

To check MongoDB Server version on Linux, open the terminal and execute the following command:

mongod --version

Or for shell version:

mongo -version

And for Windows (unless you’ve set MongoDB Path) you have to use the full path to the mongod.exe and mongo.exe to check mongodb version:

"C:\Program Files\MongoDB\Server.4\bin\mongod.exe" --version
db version v4.4.1
git version: 876ebee8c7dd0e2d992f36a848ff4dc50ee6603e
OpenSSL version: OpenSSL 1.0.2u-fips  22 Sep 2016
allocator: tcmalloc
modules: none
build environment:
    distmod: 2008plus-ssl
    distarch: x86_64
    target_arch: x86_64

and if you’ve set the MongoDB Path:

mongodb version - Check MongoDB Version in Windows / 🐧 Linux
whoami
Stefan Pejcic
Join the discussion

I enjoy constructive responses and professional comments to my posts, and invite anyone to comment or link to my site.