MySQL

Supported databases

This connector supports MySQL Server 5.7 and 8.x, including:

  • Self-hosted MySQL
  • Managed MySQL services (AWS RDS, Azure MySQL, Google Cloud SQL)
  • MySQL-compatible databases that fully support the MySQL 8.x protocol

MariaDB is not supported by this driver.


Required connection parameters

You must provide the following:

  • Host
  • Port – default: 3306
  • Database name
  • Username
  • Password

The JDBC connection URL is generated automatically.


Supported authentication methods

  • caching_sha2_password (default)
  • mysql_native_password

Optional parameters

  • SSL/TLS
  • Server timezone
  • Connection timeout
  • Character encoding

Not supported

  • MySQL versions older than 5.7
  • mysql_old_password authentication
  • Unix socket or named pipe connections
  • Proxy- or plugin-based authentication
  • Custom JDBC URLs

Notes

  • MySQL 8.x is strongly recommended.
  • SSL is often mandatory for managed MySQL services.