Drivers, ORMs, and tools
In a database cluster group for Aurora with routing enabled, applications connect to the routing endpoint with standard MySQL drivers, connection pools, object-relational mappers (ORMs), and tools. The following tables give a suggested version for each one. They also list any settings that each one needs in addition to the character set, collation, and TLS settings. For instructions on connecting, see Connecting to the routing endpoint.
We recommend that you use the latest version of each driver, ORM, and tool.
The Suggested additional settings column lists the settings that each driver, ORM, or tool needs. These settings are in addition to the character set, collation, and TLS settings that every connection requires. For information about those settings, see Supported character set and collations and TLS on the routing endpoint. A dash (–) means that, other than the character set, collation, and TLS settings, you can use the default settings.
These settings apply when you connect and run queries. Some features of a driver, ORM, or tool behave differently through the routing endpoint. For information about how the routing endpoint handles statements, see Statement compatibility. For information about the features and limits of the routing endpoint, see Limitations and considerations for database cluster groups for Aurora.
Drivers and connection pools
The following table lists drivers and connection pools.
| Language, runtime, or API | Driver or connection pool | Suggested version | Suggested additional settings |
|---|---|---|---|
| Java | MySQL Connector/J | 26.10.0 or later | – |
| Java | MariaDB Connector/J | 3.5.3 or later | – |
| Java | HikariCP | 7.1.0 or later | – |
| Python | PyMySQL | 1.2.3 or later | – |
| Python | mysqlclient | 2.3.0 or later | – |
| Python | MySQL Connector/Python (mysql-connector-python) | 26.10.0 or later |
|
| Node.js | mysql2 | 3.24.6 or later | – |
| Go | go-sql-driver/mysql | 1.10.1 or later | – |
| Ruby | mysql2 | 0.5.7 or later | – |
| PHP | PDO_MYSQL | PHP 8.5 or later | – |
| PHP | mysqli | PHP 8.5 or later | – |
| .NET | MySqlConnector | 2.6.2 or later | – |
| Open Database Connectivity (ODBC) | MySQL Connector/ODBC | 26.10 or later |
|
AWS drivers and wrappers
The following table lists AWS drivers and wrappers.
| Language, runtime, or API | Driver or wrapper | Suggested version | Suggested additional settings |
|---|---|---|---|
| Java | AWS JDBC Driver | 4.7.0 or later |
|
| Python | AWS Python Driver | 3.1.0 or later |
|
| Node.js | AWS Advanced NodeJS Wrapper | 3.0.1 or later |
|
| Go | AWS Advanced Go Wrapper | 2.1.1 or later |
|
| Ruby | AWS Advanced Ruby Driver Wrapper | 1.1.0 or later |
|
| .NET | AWS Advanced .NET Data Provider Wrapper | 3.0.0 or later |
|
ORMs
The following table lists ORMs.
| Language or runtime | ORM | Suggested version | Suggested additional settings |
|---|---|---|---|
| Java | Hibernate | 7.4.17 or later | – |
| Java | jOOQ | 3.21.10 or later | – |
| Java | MyBatis | 3.6.0 or later | – |
| Java | Spring Data JPA | 4.2.0 or later | – |
| Kotlin | Exposed | 1.6.1 or later |
|
| Python | SQLAlchemy | 2.1.9 or later | – |
| Python | Django | 6.1.3 or later |
|
| Python | Peewee | 4.5.3 or later |
|
| Python | SQLModel | 0.0.50 or later | – |
| Python | Tortoise ORM | 1.1.9 or later |
|
| Node.js | TypeORM | 1.1.3 or later |
|
| Node.js | Prisma | 7.10.1 or later |
|
| Node.js | Drizzle ORM | 0.45.4 or later |
|
| Node.js | MikroORM | 7.2.11 or later |
|
| Go | GORM | 1.31.2 or later | – |
| Go | Ent | 0.14.6 or later | – |
| Ruby | Active Record | Rails 8.1.4 or later |
|
| Ruby | Sequel | 5.110.0 or later |
|
| PHP | Eloquent | Laravel 13.40 or later |
|
| PHP | Doctrine ORM | 3.8.0 or later |
|
| .NET | Dapper | 2.1.100 or later | – |
Clients and GUI tools
The following table lists clients and GUI tools.
| Type | Tool | Suggested version | Suggested additional settings |
|---|---|---|---|
| Command-line client | MySQL mysql client | 26.10.0 or later | – |
| Command-line client | MySQL Shell | 26.10.0 or later |
|
| Command-line client | MariaDB mariadb client | 11.8.10 or later | – |
| GUI tool | MySQL Workbench | 26.10.0 or later | – |
| GUI tool | DBeaver Community | 26.2.5.2 or later |
|
| GUI tool | HeidiSQL | 12.22 or later |
|