<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"><channel><title>Cloudflare changelogs | Hyperdrive</title><description>Cloudflare changelogs for Hyperdrive</description><link>https://developers.cloudflare.com/changelog/</link><item><title>Hyperdrive - Hyperdrive now supports custom TLS/SSL certificates for MySQL</title><link>https://developers.cloudflare.com/changelog/post/2026-03-19-hyperdrive-mysql-custom-certificate-support/</link><guid isPermaLink="true">https://developers.cloudflare.com/changelog/post/2026-03-19-hyperdrive-mysql-custom-certificate-support/</guid><description>&lt;p&gt;Hyperdrive now supports custom TLS/SSL certificates for MySQL databases, bringing the same certificate options previously available for PostgreSQL to MySQL connections.&lt;/p&gt;
&lt;p&gt;You can now configure:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Server certificate verification&lt;/strong&gt; with &lt;code&gt;VERIFY_CA&lt;/code&gt; or &lt;code&gt;VERIFY_IDENTITY&lt;/code&gt; SSL modes to verify that your MySQL database server&apos;s certificate is signed by the expected certificate authority (CA).&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Client certificates&lt;/strong&gt; (mTLS) for Hyperdrive to authenticate itself to your MySQL database with credentials beyond username and password.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Create a Hyperdrive configuration with custom certificates for MySQL:&lt;/p&gt;
&lt;div&gt;&lt;figure&gt;&lt;pre data-language=&quot;bash&quot;&gt;&lt;code class=&quot;language-bash&quot;&gt;&lt;div&gt;&lt;div&gt;&lt;span&gt;# Upload a CA certificate&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span&gt;npx&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;wrangler&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;cert&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;upload&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;certificate-authority&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;--ca-cert&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;your-ca-cert.pem&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;--name&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;your-custom-ca-name&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;
&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span&gt;# Create a Hyperdrive with VERIFY_IDENTITY mode&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span&gt;npx&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;wrangler&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;hyperdrive&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;create&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;your-hyperdrive-config&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;\&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span&gt;  &lt;/span&gt;&lt;span&gt;--connection-string=&quot;mysql://user:password@hostname:port/database&quot;&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;\&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span&gt;  &lt;/span&gt;&lt;span&gt;--ca-certificate-id&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;&amp;#x3C;CA_CERT_ID&gt;&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;\&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span&gt;  &lt;/span&gt;&lt;span&gt;--sslmode&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;VERIFY_IDENTITY&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;/code&gt;&lt;/pre&gt;&lt;div&gt;&lt;div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/figure&gt;&lt;/div&gt;
&lt;p&gt;For more information, refer to &lt;a href=&quot;https://developers.cloudflare.com/hyperdrive/configuration/tls-ssl-certificates-for-hyperdrive/&quot;&gt;SSL/TLS certificates for Hyperdrive&lt;/a&gt; and &lt;a href=&quot;https://developers.cloudflare.com/hyperdrive/examples/connect-to-mysql/&quot;&gt;MySQL TLS/SSL modes&lt;/a&gt;.&lt;/p&gt;</description><pubDate>Thu, 19 Mar 2026 00:00:00 GMT</pubDate><product>Hyperdrive</product><category>Hyperdrive</category></item><item><title>Hyperdrive - Hyperdrive no longer caches queries using STABLE PostgreSQL functions</title><link>https://developers.cloudflare.com/changelog/post/2026-02-23-hyperdrive-stable-functions-uncacheable/</link><guid isPermaLink="true">https://developers.cloudflare.com/changelog/post/2026-02-23-hyperdrive-stable-functions-uncacheable/</guid><description>&lt;p&gt;Hyperdrive now treats queries containing PostgreSQL &lt;code&gt;STABLE&lt;/code&gt; functions as uncacheable, in addition to &lt;code&gt;VOLATILE&lt;/code&gt; functions.&lt;/p&gt;
&lt;p&gt;Previously, only functions &lt;a href=&quot;https://www.postgresql.org/docs/current/xfunc-volatility.html&quot; target=&quot;_blank&quot;&gt;that PostgreSQL categorizes&lt;/a&gt; as &lt;code&gt;VOLATILE&lt;/code&gt; (for example, &lt;code&gt;RANDOM()&lt;/code&gt;, &lt;code&gt;LASTVAL()&lt;/code&gt;) were detected as uncacheable. &lt;code&gt;STABLE&lt;/code&gt; functions (for example, &lt;code&gt;NOW()&lt;/code&gt;, &lt;code&gt;CURRENT_TIMESTAMP&lt;/code&gt;, &lt;code&gt;CURRENT_DATE&lt;/code&gt;) were incorrectly allowed to be cached.&lt;/p&gt;
&lt;p&gt;Because &lt;code&gt;STABLE&lt;/code&gt; functions can return different results across different SQL statements within the same transaction, caching their results could serve stale or incorrect data. This change aligns Hyperdrive&apos;s caching behavior with PostgreSQL&apos;s function volatility semantics.&lt;/p&gt;
&lt;p&gt;If your queries use &lt;code&gt;STABLE&lt;/code&gt; functions, and you were relying on them being cached, move the function call to your application code and pass the result as a query parameter. For example, instead of &lt;code&gt;WHERE created_at &gt; NOW()&lt;/code&gt;, compute the timestamp in your Worker and pass it as &lt;code&gt;WHERE created_at &gt; $1&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;Hyperdrive uses text-based pattern matching to detect uncacheable functions. References to function names like &lt;code&gt;NOW()&lt;/code&gt; in SQL comments also cause the query to be marked as uncacheable.&lt;/p&gt;
&lt;p&gt;For more information, refer to &lt;a href=&quot;https://developers.cloudflare.com/hyperdrive/concepts/query-caching/&quot;&gt;Query caching&lt;/a&gt; and &lt;a href=&quot;https://developers.cloudflare.com/hyperdrive/observability/troubleshooting/&quot;&gt;Troubleshoot and debug&lt;/a&gt;.&lt;/p&gt;</description><pubDate>Mon, 23 Feb 2026 00:00:00 GMT</pubDate><product>Hyperdrive</product><category>Hyperdrive</category></item><item><title>Hyperdrive - Connect to remote databases during local development with wrangler dev</title><link>https://developers.cloudflare.com/changelog/post/2025-12-04-hyperdrive-remote-database-local-dev/</link><guid isPermaLink="true">https://developers.cloudflare.com/changelog/post/2025-12-04-hyperdrive-remote-database-local-dev/</guid><description>&lt;p&gt;You can now connect directly to remote databases and databases requiring TLS with &lt;code&gt;wrangler dev&lt;/code&gt;.
This lets you run your Worker code locally while connecting to remote databases, without needing to use &lt;code&gt;wrangler dev --remote&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;The &lt;code&gt;localConnectionString&lt;/code&gt; field and &lt;code&gt;CLOUDFLARE_HYPERDRIVE_LOCAL_CONNECTION_STRING_&amp;#x3C;BINDING_NAME&gt;&lt;/code&gt; environment variable can be used to configure the connection string used by &lt;code&gt;wrangler dev&lt;/code&gt;.&lt;/p&gt;
&lt;div&gt;&lt;figure&gt;&lt;pre data-language=&quot;jsonc&quot;&gt;&lt;code class=&quot;language-jsonc&quot;&gt;&lt;div&gt;&lt;div&gt;&lt;span&gt;{&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span&gt;  &lt;/span&gt;&lt;span&gt;&quot;&lt;/span&gt;&lt;span&gt;hyperdrive&lt;/span&gt;&lt;span&gt;&quot;&lt;/span&gt;&lt;span&gt;:&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;[&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span&gt;    &lt;/span&gt;&lt;span&gt;{&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span&gt;      &lt;/span&gt;&lt;span&gt;&quot;&lt;/span&gt;&lt;span&gt;binding&lt;/span&gt;&lt;span&gt;&quot;&lt;/span&gt;&lt;span&gt;:&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;&quot;HYPERDRIVE&quot;&lt;/span&gt;&lt;span&gt;,&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span&gt;      &lt;/span&gt;&lt;span&gt;&quot;&lt;/span&gt;&lt;span&gt;id&lt;/span&gt;&lt;span&gt;&quot;&lt;/span&gt;&lt;span&gt;:&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;&quot;your-hyperdrive-id&quot;&lt;/span&gt;&lt;span&gt;,&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span&gt;      &lt;/span&gt;&lt;span&gt;&quot;&lt;/span&gt;&lt;span&gt;localConnectionString&lt;/span&gt;&lt;span&gt;&quot;&lt;/span&gt;&lt;span&gt;:&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;&quot;postgres://user:password@remote-host.example.com:5432/database?sslmode=require&quot;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span&gt;    &lt;/span&gt;&lt;span&gt;}&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span&gt;  &lt;/span&gt;&lt;span&gt;]&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span&gt;}&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;/code&gt;&lt;/pre&gt;&lt;div&gt;&lt;div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/figure&gt;&lt;/div&gt;
&lt;p&gt;Learn more about &lt;a href=&quot;https://developers.cloudflare.com/hyperdrive/configuration/local-development/&quot;&gt;local development with Hyperdrive&lt;/a&gt;.&lt;/p&gt;</description><pubDate>Thu, 04 Dec 2025 00:00:00 GMT</pubDate><product>Hyperdrive</product><category>Hyperdrive</category></item><item><title>Hyperdrive - Hyperdrive now supports configuring the amount of database connections</title><link>https://developers.cloudflare.com/changelog/post/2025-07-02-hyperdrive-configurable-connection-count/</link><guid isPermaLink="true">https://developers.cloudflare.com/changelog/post/2025-07-02-hyperdrive-configurable-connection-count/</guid><description>&lt;p&gt;You can now specify the number of connections your Hyperdrive configuration uses to connect to your origin database.&lt;/p&gt;
&lt;p&gt;All configurations have a minimum of 5 connections. The maximum connection count for a Hyperdrive configuration depends on the &lt;a href=&quot;https://developers.cloudflare.com/hyperdrive/platform/limits/&quot;&gt;Hyperdrive limits of your Workers plan&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;This feature allows you to right-size your connection pool based on your database capacity and application requirements. You can configure connection counts through the Cloudflare dashboard or API.&lt;/p&gt;
&lt;p&gt;Refer to the &lt;a href=&quot;https://developers.cloudflare.com/hyperdrive/concepts/connection-pooling/&quot;&gt;Hyperdrive configuration documentation&lt;/a&gt; for more information.&lt;/p&gt;</description><pubDate>Thu, 03 Jul 2025 00:00:00 GMT</pubDate><product>Hyperdrive</product><category>Hyperdrive</category></item><item><title>Hyperdrive - Hyperdrive achieves FedRAMP Moderate-Impact Authorization</title><link>https://developers.cloudflare.com/changelog/post/2025-05-14-hyperdrive-fedramp/</link><guid isPermaLink="true">https://developers.cloudflare.com/changelog/post/2025-05-14-hyperdrive-fedramp/</guid><description>&lt;p&gt;Hyperdrive has been approved for FedRAMP Authorization and is now available in the &lt;a href=&quot;https://marketplace.fedramp.gov/products/FR2000863987&quot; target=&quot;_blank&quot;&gt;FedRAMP Marketplace&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;FedRAMP is a U.S. government program that provides standardized assessment and authorization for cloud products and services. As a result of this product update,
Hyperdrive has been approved as an authorized service to be used by U.S. federal agencies at the Moderate Impact level.&lt;/p&gt;
&lt;p&gt;For detailed information regarding FedRAMP and its implications, please refer to the &lt;a href=&quot;https://marketplace.fedramp.gov/products/FR2000863987&quot; target=&quot;_blank&quot;&gt;official FedRAMP documentation for Cloudflare&lt;/a&gt;.&lt;/p&gt;</description><pubDate>Wed, 14 May 2025 00:00:00 GMT</pubDate><product>Hyperdrive</product><category>Hyperdrive</category></item><item><title>Hyperdrive - Hyperdrive now supports custom TLS/SSL certificates</title><link>https://developers.cloudflare.com/changelog/post/2025-04-09-hyperdrive-custom-certificate-support/</link><guid isPermaLink="true">https://developers.cloudflare.com/changelog/post/2025-04-09-hyperdrive-custom-certificate-support/</guid><description>&lt;p&gt;Hyperdrive now supports more SSL/TLS security options for your database connections:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Configure Hyperdrive to verify server certificates with &lt;code&gt;verify-ca&lt;/code&gt; or &lt;code&gt;verify-full&lt;/code&gt; SSL modes and protect against man-in-the-middle attacks&lt;/li&gt;
&lt;li&gt;Configure Hyperdrive to provide client certificates to the database server to authenticate itself (mTLS) for stronger security beyond username and password&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Use the new &lt;code&gt;wrangler cert&lt;/code&gt; commands to create certificate authority (CA) certificate bundles or client certificate pairs:&lt;/p&gt;
&lt;div&gt;&lt;figure&gt;&lt;pre data-language=&quot;bash&quot;&gt;&lt;code class=&quot;language-bash&quot;&gt;&lt;div&gt;&lt;div&gt;&lt;span&gt;# Create CA certificate bundle&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span&gt;npx&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;wrangler&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;cert&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;upload&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;certificate-authority&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;--ca-cert&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;your-ca-cert.pem&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;--name&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;your-custom-ca-name&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;
&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span&gt;# Create client certificate pair&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span&gt;npx&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;wrangler&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;cert&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;upload&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;mtls-certificate&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;--cert&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;client-cert.pem&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;--key&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;client-key.pem&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;--name&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;your-client-cert-name&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;/code&gt;&lt;/pre&gt;&lt;div&gt;&lt;div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/figure&gt;&lt;/div&gt;
&lt;p&gt;Then create a Hyperdrive configuration with the certificates and desired SSL mode:&lt;/p&gt;
&lt;div&gt;&lt;figure&gt;&lt;pre data-language=&quot;bash&quot;&gt;&lt;code class=&quot;language-bash&quot;&gt;&lt;div&gt;&lt;div&gt;&lt;span&gt;npx&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;wrangler&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;hyperdrive&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;create&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;your-hyperdrive-config&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;\&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span&gt;  &lt;/span&gt;&lt;span&gt;--connection-string=&quot;postgres://user:password@hostname:port/database&quot;&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;\&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span&gt;  &lt;/span&gt;&lt;span&gt;--ca-certificate-id&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;&amp;#x3C;CA_CERT_ID&gt;&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;\&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span&gt;  &lt;/span&gt;&lt;span&gt;--mtls-certificate-id&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;&amp;#x3C;CLIENT_CERT_ID&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span&gt;  &lt;/span&gt;&lt;span&gt;--sslmode&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;verify-full&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;/code&gt;&lt;/pre&gt;&lt;div&gt;&lt;div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/figure&gt;&lt;/div&gt;
&lt;p&gt;Learn more about &lt;a href=&quot;https://developers.cloudflare.com/hyperdrive/configuration/tls-ssl-certificates-for-hyperdrive/&quot;&gt;configuring SSL/TLS certificates for Hyperdrive&lt;/a&gt; to enhance your database security posture.&lt;/p&gt;</description><pubDate>Wed, 09 Apr 2025 00:00:00 GMT</pubDate><product>Hyperdrive</product><category>Hyperdrive</category></item><item><title>Hyperdrive - Hyperdrive Free plan makes fast, global database access available to all</title><link>https://developers.cloudflare.com/changelog/post/2025-04-08-hyperdrive-free-plan/</link><guid isPermaLink="true">https://developers.cloudflare.com/changelog/post/2025-04-08-hyperdrive-free-plan/</guid><description>&lt;p&gt;Hyperdrive is now available on the Free plan of Cloudflare Workers, enabling you to build Workers that connect to PostgreSQL or MySQL databases without compromise.&lt;/p&gt;
&lt;p&gt;Low-latency access to SQL databases is critical to building full-stack Workers applications. We want you to be able to build on fast, global apps on Workers,
regardless of the tools you use. So we made Hyperdrive available for all, to make it easier to build Workers that connect to PostgreSQL and MySQL.&lt;/p&gt;
&lt;p&gt;If you want to learn more about how Hyperdrive works, read the &lt;a href=&quot;https://blog.cloudflare.com/how-hyperdrive-speeds-up-database-access&quot; target=&quot;_blank&quot;&gt;deep dive&lt;/a&gt; on how Hyperdrive can make your database queries up to 4x faster.&lt;/p&gt;
&lt;starlight-image-zoom-zoomable&gt;&lt;img src=&quot;https://developers.cloudflare.com/_astro/hyperdrive-global-placement.DHxlaFbz_1MNCXL.webp&quot; alt=&quot;Hyperdrive provides edge connection setup and global connection pooling for optimal latencies.&quot;&gt;&lt;/starlight-image-zoom-zoomable&gt;
&lt;p&gt;Visit the docs to &lt;a href=&quot;https://developers.cloudflare.com/hyperdrive/get-started/&quot;&gt;get started&lt;/a&gt; with Hyperdrive for PostgreSQL or MySQL.&lt;/p&gt;</description><pubDate>Tue, 08 Apr 2025 00:00:00 GMT</pubDate><product>Hyperdrive</product><category>Hyperdrive</category></item><item><title>Hyperdrive - Hyperdrive introduces support for MySQL and MySQL-compatible databases</title><link>https://developers.cloudflare.com/changelog/post/2025-04-08-hyperdrive-mysql-support/</link><guid isPermaLink="true">https://developers.cloudflare.com/changelog/post/2025-04-08-hyperdrive-mysql-support/</guid><description>&lt;p&gt;Hyperdrive now supports connecting to MySQL and MySQL-compatible databases, including Amazon RDS and Aurora MySQL, Google Cloud SQL for MySQL, Azure Database for MySQL, PlanetScale and MariaDB.&lt;/p&gt;
&lt;p&gt;Hyperdrive makes your regional, MySQL databases fast when connecting from Cloudflare Workers. It eliminates unnecessary network roundtrips during connection setup, pools database connections globally, and can cache query results to provide the fastest possible response times.&lt;/p&gt;
&lt;p&gt;Best of all, you can connect using your existing drivers, ORMs, and query builders with Hyperdrive&apos;s secure credentials, no code changes required.&lt;/p&gt;
&lt;div&gt;&lt;figure&gt;&lt;pre data-language=&quot;ts&quot;&gt;&lt;code class=&quot;language-ts&quot;&gt;&lt;div&gt;&lt;div&gt;&lt;span&gt;import &lt;/span&gt;&lt;span&gt;{&lt;/span&gt;&lt;span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;createConnection&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;/span&gt;&lt;span&gt;}&lt;/span&gt;&lt;span&gt; from &lt;/span&gt;&lt;span&gt;&quot;mysql2/promise&quot;&lt;/span&gt;&lt;span&gt;;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;
&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span&gt;export&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;interface&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;Env&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;{&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span&gt;&lt;span&gt;  &lt;/span&gt;&lt;/span&gt;&lt;span&gt;HYPERDRIVE&lt;/span&gt;&lt;span&gt;:&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;Hyperdrive&lt;/span&gt;&lt;span&gt;;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span&gt;}&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;
&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span&gt;export&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;default&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;{&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span&gt;  &lt;/span&gt;&lt;span&gt;async&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;fetch&lt;/span&gt;&lt;span&gt;(&lt;/span&gt;&lt;span&gt;request&lt;/span&gt;&lt;span&gt;,&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;env&lt;/span&gt;&lt;span&gt;,&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;ctx&lt;/span&gt;&lt;span&gt;)&lt;/span&gt;&lt;span&gt;:&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;Promise&lt;/span&gt;&lt;span&gt;&amp;#x3C;&lt;/span&gt;&lt;span&gt;Response&lt;/span&gt;&lt;span&gt;&gt;&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;{&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span&gt;    &lt;/span&gt;&lt;span&gt;const&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;connection&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;=&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;await&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;createConnection&lt;/span&gt;&lt;span&gt;(&lt;/span&gt;&lt;span&gt;{&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span&gt;&lt;span&gt;      &lt;/span&gt;&lt;/span&gt;&lt;span&gt;host&lt;/span&gt;&lt;span&gt;:&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;env&lt;/span&gt;&lt;span&gt;.&lt;/span&gt;&lt;span&gt;HYPERDRIVE&lt;/span&gt;&lt;span&gt;.&lt;/span&gt;&lt;span&gt;host&lt;/span&gt;&lt;span&gt;,&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span&gt;&lt;span&gt;      &lt;/span&gt;&lt;/span&gt;&lt;span&gt;user&lt;/span&gt;&lt;span&gt;:&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;env&lt;/span&gt;&lt;span&gt;.&lt;/span&gt;&lt;span&gt;HYPERDRIVE&lt;/span&gt;&lt;span&gt;.&lt;/span&gt;&lt;span&gt;user&lt;/span&gt;&lt;span&gt;,&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span&gt;&lt;span&gt;      &lt;/span&gt;&lt;/span&gt;&lt;span&gt;password&lt;/span&gt;&lt;span&gt;:&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;env&lt;/span&gt;&lt;span&gt;.&lt;/span&gt;&lt;span&gt;HYPERDRIVE&lt;/span&gt;&lt;span&gt;.&lt;/span&gt;&lt;span&gt;password&lt;/span&gt;&lt;span&gt;,&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span&gt;&lt;span&gt;      &lt;/span&gt;&lt;/span&gt;&lt;span&gt;database&lt;/span&gt;&lt;span&gt;:&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;env&lt;/span&gt;&lt;span&gt;.&lt;/span&gt;&lt;span&gt;HYPERDRIVE&lt;/span&gt;&lt;span&gt;.&lt;/span&gt;&lt;span&gt;database&lt;/span&gt;&lt;span&gt;,&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span&gt;&lt;span&gt;      &lt;/span&gt;&lt;/span&gt;&lt;span&gt;port&lt;/span&gt;&lt;span&gt;:&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;env&lt;/span&gt;&lt;span&gt;.&lt;/span&gt;&lt;span&gt;HYPERDRIVE&lt;/span&gt;&lt;span&gt;.&lt;/span&gt;&lt;span&gt;port&lt;/span&gt;&lt;span&gt;,&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span&gt;&lt;span&gt;      &lt;/span&gt;&lt;/span&gt;&lt;span&gt;disableEval&lt;/span&gt;&lt;span&gt;:&lt;/span&gt;&lt;span&gt; true&lt;/span&gt;&lt;span&gt;,&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;// Required for Workers compatibility&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span&gt;    &lt;/span&gt;&lt;span&gt;}&lt;/span&gt;&lt;span&gt;)&lt;/span&gt;&lt;span&gt;;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;
&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span&gt;    &lt;/span&gt;&lt;span&gt;const&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;[&lt;/span&gt;&lt;span&gt;results&lt;/span&gt;&lt;span&gt;,&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;fields&lt;/span&gt;&lt;span&gt;]&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;=&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;await&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;connection&lt;/span&gt;&lt;span&gt;.&lt;/span&gt;&lt;span&gt;query&lt;/span&gt;&lt;span&gt;(&lt;/span&gt;&lt;span&gt;&quot;SHOW tables;&quot;&lt;/span&gt;&lt;span&gt;)&lt;/span&gt;&lt;span&gt;;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;
&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span&gt;&lt;span&gt;    &lt;/span&gt;&lt;/span&gt;&lt;span&gt;ctx&lt;/span&gt;&lt;span&gt;.&lt;/span&gt;&lt;span&gt;waitUntil&lt;/span&gt;&lt;span&gt;(&lt;/span&gt;&lt;span&gt;connection&lt;/span&gt;&lt;span&gt;.&lt;/span&gt;&lt;span&gt;end&lt;/span&gt;&lt;span&gt;())&lt;/span&gt;&lt;span&gt;;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;
&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span&gt;    &lt;/span&gt;&lt;span&gt;return&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;new&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;Response&lt;/span&gt;&lt;span&gt;(&lt;/span&gt;&lt;span&gt;JSON&lt;/span&gt;&lt;span&gt;.&lt;/span&gt;&lt;span&gt;stringify&lt;/span&gt;&lt;span&gt;(&lt;/span&gt;&lt;span&gt;{&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;results&lt;/span&gt;&lt;span&gt;,&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;fields&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;}&lt;/span&gt;&lt;span&gt;)&lt;/span&gt;&lt;span&gt;,&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;{&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span&gt;&lt;span&gt;      &lt;/span&gt;&lt;/span&gt;&lt;span&gt;headers&lt;/span&gt;&lt;span&gt;:&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;{&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span&gt;        &lt;/span&gt;&lt;span&gt;&quot;Content-Type&quot;&lt;/span&gt;&lt;span&gt;:&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;&quot;application/json&quot;&lt;/span&gt;&lt;span&gt;,&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span&gt;        &lt;/span&gt;&lt;span&gt;&quot;Access-Control-Allow-Origin&quot;&lt;/span&gt;&lt;span&gt;:&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;&quot;*&quot;&lt;/span&gt;&lt;span&gt;,&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span&gt;      &lt;/span&gt;&lt;span&gt;},&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span&gt;    &lt;/span&gt;&lt;span&gt;}&lt;/span&gt;&lt;span&gt;)&lt;/span&gt;&lt;span&gt;;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span&gt;  &lt;/span&gt;&lt;span&gt;},&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span&gt;}&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;satisfies&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;ExportedHandler&lt;/span&gt;&lt;span&gt;&amp;#x3C;&lt;/span&gt;&lt;span&gt;Env&lt;/span&gt;&lt;span&gt;&gt;;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;/code&gt;&lt;/pre&gt;&lt;div&gt;&lt;div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/figure&gt;&lt;/div&gt;
&lt;p&gt;Learn more about &lt;a href=&quot;https://developers.cloudflare.com/hyperdrive/concepts/how-hyperdrive-works/&quot;&gt;how Hyperdrive works&lt;/a&gt; and &lt;a href=&quot;https://developers.cloudflare.com/hyperdrive/get-started/&quot;&gt;get started building Workers that connect to MySQL with Hyperdrive&lt;/a&gt;.&lt;/p&gt;</description><pubDate>Tue, 08 Apr 2025 00:00:00 GMT</pubDate><product>Hyperdrive</product><category>Hyperdrive</category></item><item><title>Hyperdrive - Hyperdrive reduces query latency by up to 90% and now supports IP access control lists</title><link>https://developers.cloudflare.com/changelog/post/2025-03-04-hyperdrive-pooling-near-database-and-ip-range-egress/</link><guid isPermaLink="true">https://developers.cloudflare.com/changelog/post/2025-03-04-hyperdrive-pooling-near-database-and-ip-range-egress/</guid><description>&lt;p&gt;Hyperdrive now pools database connections in one or more regions close to your database. This means that your uncached queries and new database connections have up to 90% less latency as measured from connection pools.&lt;/p&gt;
&lt;starlight-image-zoom-zoomable&gt;&lt;img src=&quot;https://developers.cloudflare.com/_astro/hyperdrive-regional-pooling-query-latency-improvement.Bzz_xvHZ_rlYbl.webp&quot; alt=&quot;Hyperdrive query latency decreases by 90% during Hyperdrive&amp;#x27;s gradual rollout of regional pooling.&quot;&gt;&lt;/starlight-image-zoom-zoomable&gt;
&lt;p&gt;By improving placement of Hyperdrive database connection pools, Workers&apos; Smart Placement is now more effective when used with Hyperdrive, ensuring that your Worker can be placed as close to your database as possible.&lt;/p&gt;
&lt;p&gt;With this update, Hyperdrive also uses &lt;a href=&quot;https://www.cloudflare.com/ips/&quot; target=&quot;_blank&quot;&gt;Cloudflare&apos;s standard IP address ranges&lt;/a&gt; to connect to your database. This enables you to configure the firewall policies (IP access control lists) of your database to only allow access from Cloudflare and Hyperdrive.&lt;/p&gt;
&lt;p&gt;Refer to &lt;a href=&quot;https://developers.cloudflare.com/hyperdrive/concepts/how-hyperdrive-works/&quot;&gt;documentation on how Hyperdrive makes connecting to regional databases from Cloudflare Workers fast&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;This improvement is enabled on all Hyperdrive configurations.&lt;/p&gt;</description><pubDate>Fri, 07 Mar 2025 00:00:00 GMT</pubDate><product>Hyperdrive</product><category>Hyperdrive</category></item><item><title>Hyperdrive - Automatic configuration for private databases on Hyperdrive</title><link>https://developers.cloudflare.com/changelog/post/2025-01-28-hyperdrive-automated-private-database-configuration/</link><guid isPermaLink="true">https://developers.cloudflare.com/changelog/post/2025-01-28-hyperdrive-automated-private-database-configuration/</guid><description>&lt;p&gt;Hyperdrive now automatically configures your Cloudflare Tunnel to connect to your private database.&lt;/p&gt;
&lt;starlight-image-zoom-zoomable&gt;&lt;img src=&quot;https://developers.cloudflare.com/_astro/hyperdrive-private-database-automatic-configuration.BT4_KLwW_2nAXi4.webp&quot; alt=&quot;Automatic configuration of Cloudflare Access and Service Token in the Cloudflare dashboard for Hyperdrive.&quot;&gt;&lt;/starlight-image-zoom-zoomable&gt;
&lt;p&gt;When creating a Hyperdrive configuration for a private database, you only need to provide your database credentials and set up a Cloudflare Tunnel within the private network where your database is accessible. Hyperdrive will automatically create the Cloudflare Access, Service Token, and Policies needed to secure and restrict your Cloudflare Tunnel to the Hyperdrive configuration.&lt;/p&gt;
&lt;p&gt;To create a Hyperdrive for a private database, you can follow the &lt;a href=&quot;https://developers.cloudflare.com/hyperdrive/configuration/connect-to-private-database/&quot;&gt;Hyperdrive documentation&lt;/a&gt;. You can still manually create the Cloudflare Access, Service Token, and Policies if you prefer.&lt;/p&gt;
&lt;p&gt;This feature is available from the Cloudflare dashboard.&lt;/p&gt;</description><pubDate>Tue, 28 Jan 2025 00:00:00 GMT</pubDate><product>Hyperdrive</product><category>Hyperdrive</category></item><item><title>Hyperdrive - Up to 10x faster cached queries for Hyperdrive</title><link>https://developers.cloudflare.com/changelog/post/2024-12-11-hyperdrive-caching-at-edge/</link><guid isPermaLink="true">https://developers.cloudflare.com/changelog/post/2024-12-11-hyperdrive-caching-at-edge/</guid><description>&lt;p&gt;Hyperdrive now caches queries in all Cloudflare locations, decreasing cache hit latency by up to 90%.&lt;/p&gt;
&lt;p&gt;When you make a query to your database and Hyperdrive has cached the query results, Hyperdrive will now return the results from the nearest cache. By caching data closer to your users, the latency for cache hits reduces by up to 90%.&lt;/p&gt;
&lt;p&gt;This reduction in cache hit latency is reflected in a reduction of the session duration for all queries (cached and uncached) from Cloudflare Workers to Hyperdrive, as illustrated below.&lt;/p&gt;
&lt;starlight-image-zoom-zoomable&gt;&lt;img src=&quot;https://developers.cloudflare.com/_astro/hyperdrive-edge-caching-metrics.BR7svphB_2kl758.webp&quot; alt=&quot;Hyperdrive edge caching improves average session duration for database queries&quot;&gt;&lt;/starlight-image-zoom-zoomable&gt;
&lt;p&gt;&lt;em&gt;P50, P75, and P90 Hyperdrive session latency for all client connection sessions (both cached and uncached queries) for Hyperdrive configurations with caching enabled during the rollout period.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;This performance improvement is applied to all new and existing Hyperdrive configurations that have caching enabled.&lt;/p&gt;
&lt;p&gt;For more details on how Hyperdrive performs query caching, refer to the &lt;a href=&quot;https://developers.cloudflare.com/hyperdrive/concepts/how-hyperdrive-works/#3-query-caching&quot;&gt;Hyperdrive documentation&lt;/a&gt;.&lt;/p&gt;</description><pubDate>Wed, 11 Dec 2024 00:00:00 GMT</pubDate><product>Hyperdrive</product><category>Hyperdrive</category></item></channel></rss>