Connecting to RDS for MariaDB with the Amazon JDBC Driver and Amazon Python Driver; - Amazon Relational Database Service
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

Connecting to RDS for MariaDB with the Amazon JDBC Driver and Amazon Python Driver;

Connect to RDS for MariaDB DB instances with the Amazon JDBC Driver and the Amazon Python Driver. For more information, see the following topics.

Connecting to RDS for MariaDB with the Amazon Web Services (Amazon) JDBC Driver

The Amazon Web Services (Amazon) JDBC Driver is designed as an advanced JDBC wrapper. This wrapper is complementary to and extends the functionality of an existing JDBC driver. The driver is drop-in compatible with the community MySQL Connector/J driver and the community MariaDB Connector/J driver.

To install the Amazon JDBC Driver, append the Amazon JDBC Driver .jar file (located in the application CLASSPATH), and keep references to the respective community driver. Update the respective connection URL prefix as follows:

  • jdbc:mysql:// to jdbc:aws-wrapper:mysql://

  • jdbc:mariadb:// to jdbc:aws-wrapper:mariadb://

For more information about the Amazon JDBC Driver and complete instructions for using it, see the Amazon Web Services (Amazon) JDBC Driver GitHub repository.

Connecting to RDS for MariaDB with the Amazon Web Services (Amazon) Python Driver

The Amazon Web Services (Amazon) Python Driver is designed as an advanced Python wrapper. This wrapper is complementary to and extends the functionality of the open-source Psycopg driver. The Amazon Python Driver supports Python versions 3.8 and higher. You can install the aws-advanced-python-wrapper package using the pip command, along with the psycopg open-source packages.

For more information about the Amazon Python Driver and complete instructions for using it, see the Amazon Web Services (Amazon) Python Driver GitHub repository.