Supported databases and features
The following table shows which database engines and/or specific database providers are supported.
Database Engine | Supported | Known supported versions | Details |
---|---|---|---|
PostgreSQL | ✅ | 9.0 to 17.x | Both self-hosted and managed (AWS, Azure, Google Cloud, Oracle) instances are supported. |
MySQL | ✅ | 5.7 to 8.x | Both self-hosted and managed (AWS, Azure, Google Cloud, Oracle) instances are supported. MariaDB is also supported. |
SQL Server | Not currently supported. | ||
MongoDB | Not currently supported. |
Hyperdrive supports managed Postgres and MySQL databases provided by various providers, including AWS, Azure, and GCP. Refer to Examples to see how to connect to various database providers.
Hyperdrive also supports databases that are compatible with the Postgres or MySQL protocol. The following is a non-exhaustive list of Postgres or MySQL-compatible database providers:
Database Engine | Supported | Known supported versions | Details |
---|---|---|---|
AWS Aurora | ✅ | All | Postgres-compatible and MySQL-compatible. Refer to AWS Aurora examples for MySQL and Postgres. |
Neon | ✅ | All | Neon currently runs Postgres 15.x |
Supabase | ✅ | All | Supabase currently runs Postgres 15.x |
Timescale | ✅ | All | See the Timescale guide to connect. |
Materialize | ✅ | All | Postgres-compatible. Refer to the Materialize guide to connect. |
CockroachDB | ✅ | All | Postgres-compatible. Refer to the CockroachDB guide to connect. |
Planetscale | ✅ | All | Planetscale currently runs MySQL 8.x |
MariaDB | ✅ | All | MySQL-compatible. |
Hyperdrive supports the following PostgreSQL TLS (SSL) ↗ connection modes when connecting to your origin database:
Mode | Supported | Details |
---|---|---|
none | No | Hyperdrive does not support insecure plain text connections. |
prefer | No (use require ) | Hyperdrive will always use TLS. |
require | Yes (default) | TLS is required, and server certificates are validated (based on WebPKI). |
verify-ca | Yes | Verifies 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-full | Yes | Identical 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.
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
)
Hyperdrive does not support the following PostgreSQL features:
- SQL-level management of prepared statements, such as using
PREPARE
,DISCARD
,DEALLOCATE
, orEXECUTE
. - Advisory locks (PostgreSQL documentation ↗).
LISTEN
andNOTIFY
.PREPARE
andDEALLOCATE
.- Any modification to per-session state not explicitly documented as supported elsewhere.
Hyperdrive does not support the following MySQL features:
- Non-UTF8 characters in queries
USE
statements- Multi-statement queries
- Prepared statement queries via SQL (using
PREPARE
andEXECUTE
statements) and protocol-level prepared statements ↗. COM_INIT_DB
messages- Authentication plugins ↗ other than
caching_sha2_password
ormysql_native_password
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.
Was this helpful?
- Resources
- API
- New to Cloudflare?
- Products
- Sponsorships
- Open Source
- Support
- Help Center
- System Status
- Compliance
- GDPR
- Company
- cloudflare.com
- Our team
- Careers
- 2025 Cloudflare, Inc.
- Privacy Policy
- Terms of Use
- Report Security Issues
- Trademark