ApsaraDB for MongoDB supports the following database versions:
|
Version |
Status |
Notes |
|
8.3 |
Active |
— |
|
8.0 |
Active |
— |
|
7.0 |
Active |
— |
|
6.0 |
Active |
— |
|
5.0 |
Active |
— |
|
4.4 |
Active |
— |
|
4.2 |
Active |
— |
|
4.0 |
Active |
— |
|
3.4 |
Discontinued |
No longer supported |
Use a client that matches your instance's database version. Download a driver for your language from the MongoDB Drivers page.
Note
For details on version differences, see MongoDB versions and storage engines.
How do I view the database version of my instance?
Connect to your replica set instance using the mongo shell. For instructions, see Connect to a replica set instance by using the mongo shell.
-
Run the following command to check the database version:
db.version()