Skip to content
Cloudflare Docs

Supported databases and features

Database support

The following table shows which database engines and/or specific database providers are supported.

Database EngineSupportedKnown supported versionsDetails
PostgreSQL9.0 to 17.xBoth self-hosted and managed (AWS, Azure, Google Cloud, Oracle) instances are supported.
MySQL5.7 to 8.xBoth self-hosted and managed (AWS, Azure, Google Cloud, Oracle) instances are supported. MariaDB is also supported.
SQL ServerNot currently supported.
MongoDBNot currently supported.

Supported database providers

The following is a non-exhaustive list of database providers:

Database EngineSupportedKnown supported versionsDetails
NeonAllNeon currently runs Postgres 15.x
SupabaseAllSupabase currently runs Postgres 15.x
TimescaleAllSee the Timescale guide to connect.
MaterializeAllPostgres-compatible. Refer to the Materialize guide to connect.
CockroachDBAllPostgres-compatible. Refer to the CockroachDB guide to connect.
PlanetscaleAllPlanetscale currently runs MySQL 8.x
MariaDBAllMySQL-compatible.

Supported TLS (SSL) modes

Hyperdrive supports the following PostgreSQL TLS (SSL) connection modes when connecting to your origin database:

ModeSupportedDetails
noneNoHyperdrive does not support insecure plain text connections.
preferNo (use require)Hyperdrive will always use TLS.
requireYes (default)TLS is required, and server certificates are validated (based on WebPKI).
verify-caYesVerifies the server's TLS certificate is signed by a root CA on the client. This ensures the server has a certificate the client trusts.
verify-fullYesIdentical to verify-ca, but also requires the database hostname must match a Subject Alternative Name (SAN) present on the certificate.

Refer to SSL/TLS certificates documentation for details on how to configure verify-ca or verify-full TLS (SSL) modes for Hyperdrive.

Supported PostgreSQL authentication modes

Hyperdrive supports the following authentication modes for connecting to PostgreSQL databases:

  • Password Authentication (md5)
  • Password Authentication (password) (clear-text password)
  • SASL Authentication (SCRAM-SHA-256)

Unsupported PostgreSQL features:

Hyperdrive does not support the following PostgreSQL features:

  • SQL-level management of prepared statements, such as using PREPARE, DISCARD, DEALLOCATE, or EXECUTE.
  • Advisory locks (PostgreSQL documentation).
  • LISTEN and NOTIFY.
  • PREPARE and DEALLOCATE.
  • Any modification to per-session state not explicitly documented as supported elsewhere.

Unsupported MySQL features:

Hyperdrive does not support the following MySQL features:

In cases where you need to issue these unsupported statements from your application, the Hyperdrive team recommends setting up a second, direct client without Hyperdrive.