PolarDB for MySQL is compatible with the MongoDB protocol through the database proxy layer. It supports official MongoDB drivers for all major programming languages and commonly used client tools. You can use familiar MongoDB ecosystem tools to connect to and manage your PolarDB clusters.
Official drivers
PolarDB for MySQL is compatible with the MongoDB wire protocol and supports official MongoDB drivers for all major programming languages. You can use the standard driver for your language to connect to a PolarDB cluster without additional adaptation.
|
Programming language |
Driver |
Description |
|
Python |
pymongo |
Official MongoDB driver for Python. |
|
Go |
mongo-go-driver |
Official MongoDB driver for Go. |
|
JavaScript/Node.js |
mongodb / Mongoose |
Official MongoDB driver for Node.js. Mongoose is an object document mapper (ODM) library. |
|
Java |
MongoDB Java Driver |
Official MongoDB driver for Java. |
|
Rust |
mongodb |
Official MongoDB driver for Rust. |
|
C |
mongo-c-driver |
MongoDB driver for C. Can also serve as the underlying dependency for drivers in other languages. |
|
C++ |
mongo-cxx-driver |
MongoDB driver for C++, built on mongo-c-driver. |
Client tools
PolarDB for MySQL supports the following commonly used MongoDB client tools for data management and visual operations.
|
Tool |
Description |
|
mongosh |
The official MongoDB shell client that supports interactive command-line operations, script execution, and database management. |
|
MongoDB Compass |
The official MongoDB GUI management tool that provides visual data browsing, query building, and performance analysis. |
|
NoSQLBooster for MongoDB |
A third-party MongoDB GUI tool that supports intelligent query auto-completion, data import and export, and server monitoring. |
|
Navicat |
A universal database management tool that supports the MongoDB protocol and provides a unified interface for managing multiple database types. |