MySQL post-quantum compatibility: connectors, replication and proxies

MySQL 26.7 adds post-quantum key exchange to TLS 1.3 when built with OpenSSL 3.5.0 or later, but the client, replication and proxy paths each need their own check before you rely on it.

On this page

Which MySQL connectors, replication links and proxies need review before post-quantum TLS

If you run MySQL, the first thing to know is that post-quantum key exchange is a per-connection TLS setting, not a server-wide switch, and it depends on the build. The MySQL 26.7.0 release notes dated 2026-07-28 state that MySQL supports post-quantum cryptography in TLS 1.3 connections only when built with OpenSSL 3.5.0 or later. Client connectors, asynchronous replication, Group Replication and any proxy in the path each negotiate TLS on their own, so each one needs to be checked separately rather than assumed to inherit the server's behavior. The MySQL 26.7 manual covers the TLS variables for admin, async replication, Group Replication and X Plugin (admin_*, replication_*, group_replication_*, mysqlx_*), which is a useful inventory of the links that carry their own settings.

Several points are not settled by the sources reviewed, and you should confirm them before planning. The 26.7 and 26.10 manual pages do not state which editions include post-quantum support, the mysql.com products page makes no statement about post-quantum support for any edition, and the 8.4.9 release notes dated 2026-04-21 update the bundled OpenSSL to 3.5.5 but do not mention post-quantum cryptography. Do not assume that the edition or build you run has the feature. Check the build's OpenSSL version and the reported Tls_key_exchange_algorithm and Tls_sign_algorithm status values on a live connection.

For connectors, the MySQL Shell options tls-kex, force-pqc and use-pqc-sign (with force-pqc and use-pqc-sign defaulting to false) leave capability detection and enforcement to libmysqlclient and libmysqlxclient, so the client library version matters as much as the server. Confirm which client libraries your applications link and whether they were built against OpenSSL 3.5 or later. Where a proxy or load balancer terminates TLS between the application and MySQL, it negotiates its own handshake and must be reviewed as a separate link. Inventory every connector, replica link and proxy, record its library and OpenSSL versions, and test a restricted tls_kex setting on a staging path before changing production.

Which MySQL 26.7 TLS paths have post-quantum options, and which settings apply

This table lists each MySQL 26.7 connection path, the variable or option that controls its key exchange and signature behavior, and the documented default for each. Read it as an inventory: confirm each setting on your own build, since PQC applies only to TLS 1.3 and needs OpenSSL 3.5 or later. The main takeaway is that PQC key exchange is preferred by default when available, while forcing it and advertising PQC signatures are off by default.

Connection pathKey exchange and signature settingsDocumented defaultSource
Client connections via libmysqlclient--tls-kex, --force-pqc, --use-pqc-signPQC key exchange preferred when available, force_pqc OFF, use_pqc_sign OFFMySQL 26.7 Post-Quantum Cryptography
X Plugin via libmysqlxclientmysqlx_tls_kex, mysqlx_force_pqc, mysqlx_use_pqc_signPQC key exchange preferred when available, force_pqc OFF, use_pqc_sign OFFMySQL 26.7 Post-Quantum Cryptography
Asynchronous replicationreplication_tls_kex, replication_force_pqc, replication_use_pqc_signPQC key exchange preferred when available, force_pqc OFF, use_pqc_sign OFFMySQL 26.7 Post-Quantum Cryptography
Group Replicationgroup_replication_tls_kex, group_replication_force_pqc, group_replication_use_pqc_signPQC key exchange preferred when available, force_pqc OFF, use_pqc_sign OFF. XCom-based Group Replication is not supportedMySQL 26.7 Post-Quantum Cryptography
Administrative interfaceadmin_tls_kex, admin_force_pqc, admin_use_pqc_signPQC key exchange preferred when available, force_pqc OFF, use_pqc_sign OFFMySQL 26.7 Post-Quantum Cryptography
MySQL Shell--tls-kex, --force-pqc (default false), --use-pqc-sign (default false)force-pqc and use-pqc-sign default to false. Capability detection is left to libmysqlclient and libmysqlxclientWL#17311

How the client, replication and proxy path changes the answer

Application connections depend on the client library the application was built with. The MySQL 26.7 manual lists client options --tls-kex, --force-pqc and --use-pqc-sign, but a client can only use them if its underlying library supports PQC key exchange. The facts examined here name libmysqlclient and Connector/J, Connector/Python and other connectors are not covered by the sources, so their behavior must be confirmed individually.

  • libmysqlclient: The C client library is the path that the MySQL 26.7 post-quantum options are documented against, and it depends on the OpenSSL build it links to.
  • Connector/J: The facts do not establish whether this Java connector negotiates PQC key exchange. Confirm with the connector release notes for the version in use.
  • Connector/Python: The facts do not establish whether this connector negotiates PQC. Confirm the version and its TLS library before assuming PQC.
  • Other third-party connectors: The facts do not establish which other connectors or proxies negotiate PQC, so each one needs its own check.
  • Capability detection: Detection is left to libmysqlclient and libmysqlxclient, so a client without those libraries cannot report whether PQC was negotiated.

For each application, confirm the connector name and version, the OpenSSL build it links against, and whether it sends the PQC options or falls back to classical groups.

Which parts of the stack must negotiate PQC for a connection to be PQC

A MySQL connection is post-quantum only when every hop that terminates TLS negotiates a PQC key exchange, so each link in the path needs its own check. The cards below cover the client library, the server build, the TLS version floor, the replica's source settings and any proxy or load balancer in between.

Client library and connector build

The client side must be built against OpenSSL 3.5 or later, and it must support the tls-kex and use-pqc-sign options before it can offer a PQC group. The MySQL 26.7 manual says PQC capability detection and enforcement live in libmysqlclient and libmysqlxclient, and MySQL Shell exposes the --tls-kex, --force-pqc and --use-pqc-sign options. Third-party connectors such as JDBC, Python or Go drivers may use their own TLS stacks, and the facts do not cover them. Confirm which TLS library each connector links against and whether it can offer a PQC group. Check the client library build first, because a server can only negotiate what the client offers.

MySQL Shell worklog

Server build OpenSSL version

PQC key exchange in MySQL 26.7 requires a server built with OpenSSL 3.5.0 or later. On older OpenSSL the PQC variables cannot be enabled and tls_kex accepts only classical groups. The MySQL 8.4.9 release notes say the bundled OpenSSL was updated to 3.5.5 but do not mention post-quantum cryptography, so the OpenSSL version alone does not show which edition or build includes the feature. Run the server's version and TLS status checks in your own environment, and confirm the build your vendor or distribution ships.

26.7 PQC manual

TLS 1.3 requirement

PQC applies only to TLS 1.3, so a connection that negotiates TLSv1.2 cannot use a PQC key exchange. MySQL 8.4 supports TLSv1.2 and TLSv1.3, and tls_version lists all supported protocols by default, so a client that falls back to TLS 1.2 gets no PQC protection. Setting force_pqc to ON is rejected when only TLS 1.2 is permitted. Check that the server's tls_version and each client's negotiated protocol include TLS 1.3, and that TLS 1.2 is not the only option offered.

TLS protocols docs

Replica source-side settings

Asynchronous replication uses its own TLS session, configured on the replica with CHANGE REPLICATION SOURCE TO options such as SOURCE_TLS_VERSION and SOURCE_TLS_CIPHERSUITES. The MySQL 26.7 manual lists replication_* variables for PQC, so the replica's link to the source needs its own key exchange settings and cannot inherit them from the client path. Confirm on the replica which TLS version and key exchange groups it offers, and on the source which server build and tls_kex apply to replication connections.

Replication TLS docs

Proxy and load balancer in the path

A proxy or load balancer that terminates TLS creates a separate handshake on each side, so the client-facing and server-facing links each negotiate their own key exchange. The MySQL 26.7 facts do not say how any named proxy handles PQC key exchange, so the link's result depends on that product's TLS build and documentation. Confirm with the proxy vendor whether it passes TLS through or terminates it, and which groups it offers on each side. A PQC connection through a proxy is only as strong as its weakest terminating hop.

Where the TLS handshake runs between an application, a proxy and MySQL

The handshake starts at the application connector, which opens a TLS 1.3 session to either a proxy or the MySQL server directly. Each hop negotiates its own key exchange and signature, governed by tls_kex and use_pqc_sign on the server and client options such as --tls-kex and --use-pqc-sign on the connector. The replica's link to the source is a separate handshake set by SOURCE_TLS_CIPHERSUITES and the replication tls_kex variables. After connecting, check Tls_key_exchange_algorithm and Tls_sign_algorithm on each endpoint to see what was negotiated.

Each TLS hop is negotiated separately, and the status variables show the result.

How to verify each MySQL connection path before enabling post-quantum key exchange

This sequence confirms, one path at a time, that each MySQL client, replica and proxy can negotiate a post-quantum key exchange before any server setting forces it. It produces a dated record of the negotiated group for every path, so a failed path is found in testing rather than in production.

  1. Confirm server build and OpenSSL version

    The database administrator checks the MySQL server version and the OpenSSL version the server was built with, using the version output and the SSL library version reported by the server. The MySQL 26.7 manual states that PQC key exchange requires a build against OpenSSL 3.5.0 or later, and that on older OpenSSL the Boolean PQC variables cannot be enabled and tls_kex accepts only classical groups. This step is done when the build reports OpenSSL 3.5.0 or later and the record notes the exact server version, edition and build source. A distribution that bundles OpenSSL older than 3.5 stops the sequence here, because no later step can produce a post-quantum group. Confirm the bundled OpenSSL level with the vendor, since the sources listed on this page do not state which editions include PQC.

  2. Inventory every client library and proxy in the path

    The platform engineer lists each application connector, libmysqlclient or libmysqlxclient build, MySQL Shell instance, proxy and load balancer that sits between clients and the server. For each one, record the library version, the OpenSSL version it links against and whether it exposes the tls-kex, force-pqc and use-pqc-sign options. The MySQL Shell worklog states that capability detection and PQC enforcement are left to libmysqlclient and libmysqlxclient, so a client that bundles an older library cannot negotiate a PQC group even when the server supports one. This step is done when every path has a row in the inventory with its library, proxy and TLS termination point named. Vendors of proxies and third-party connectors should be asked for their PQC status in writing, because this page's sources do not cover them.

  3. Set tls_kex on a test instance and check the negotiated group

    On a non-production MySQL 26.7 instance, the administrator sets the key exchange groups with SET GLOBAL tls_kex, for example to 'X25519MLKEM768:secp384r1MLKEM1024:secp256r1', and reconnects a test client from the inventory. Group names are case-sensitive, and OpenSSL aliases, NIST names and OID names are not accepted, so a misspelled value should be expected to fail. After the connection, the administrator reads the Tls_key_exchange_algorithm status variable to confirm which group was negotiated, and reads Tls_sign_algorithm for the signature. This step is done when the test client shows a PQC group in Tls_key_exchange_algorithm, and the result is written beside the client's row in the inventory. A client that falls back to a classical group is recorded as not yet ready, not as a failure of the server.

  4. Check replica settings and force_pqc behavior

    The database engineer checks asynchronous replication links, Group Replication members and X Plugin endpoints, since each has its own variable family such as replication_*, group_replication_* and mysqlx_*. The MySQL 26.7 manual states that force_pqc and its per-interface variants default to OFF, that a startup warning is logged when force_pqc is OFF on OpenSSL 3.5 or later, and that force_pqc=ON is rejected when only TLS 1.2 is permitted. The engineer sets the replica's tls_kex value, reconnects the replica, and checks Tls_key_exchange_algorithm on the source and the replica. This step is done when each replication link reports a negotiated group, and the record notes whether force_pqc is off, set per interface, or enforced. Setting force_pqc=ON is left for a later change window, after every path in the inventory has passed.

  5. Test TLS 1.2 fallback and Group Replication mode

    The engineer tests what happens when a client or replica can only offer TLS 1.2, because the MySQL 26.7 manual states that PQC applies only to TLS 1.3. The test confirms that the connection still succeeds on a classical group and that force_pqc, if set, does not allow the connection to proceed silently. The engineer also confirms the Group Replication mode in use, because the manual states that XCom-based Group Replication is not supported for PQC. Where Group Replication is in scope, the record should state the communication stack in use and whether it is one the manual covers. This step is done when the fallback behavior is recorded for each TLS version the path can negotiate, and the Group Replication stack is named in the record. A stack the manual does not cover is listed as unverified, and its owner is asked for a written answer.

  6. Document results for each connection path

    The security lead assembles one record that lists every path from the inventory with its server build, client library, the group negotiated in testing, the signature algorithm reported, the fallback result and the date of the test. Each row also names an owner and the open questions that vendors still need to answer, such as which editions include PQC and what the roadmap is. The record notes that the sources behind this sequence are dated, and that the bundled OpenSSL level and vendor statements must be rechecked before any production change. This step is done when every path in the inventory has a complete row with a test date, and the open items have a named owner. The document then becomes the input for the enablement decision, which should not be made from any path that lacks a row.

What the vendor has not published about MySQL connectors and proxies

The MySQL 26.7 manual covers PQC key exchange on the server and in the client options, but the sources listed on this page do not address third-party connectors, proxies or every edition. Each card below names one gap and the question to put to Oracle or the connector vendor before you rely on post-quantum TLS across a replication or proxy path.

Which editions include PQC

The MySQL 26.7 Post-Quantum Cryptography page describes the feature, and the 26.7.0 release notes state it is supported in builds using OpenSSL 3.5.0 or later. Neither source states which editions (Community, Enterprise, HeatWave, Standard or NDB Cluster) include it, and the products page makes no statement on post-quantum support for any of them. Ask Oracle to confirm, for each edition and each release line you run, whether PQC key exchange is included and in which build.

26.7 PQC manual

Third-party connectors that negotiate PQC

The MySQL 26.7 manual describes PQC behavior for the MySQL client libraries and MySQL Shell options such as --tls-kex and --force-pqc. Sources listed here do not name any third-party connector, such as JDBC, ODBC, Go, Python or .NET drivers, that negotiates PQC key exchange. Ask each connector vendor which library version they build against, whether it passes tls_kex and force_pqc settings, and whether the negotiated group is reported back to the application.

Proxies and PQC key exchange pass-through

The sources on this page do not state whether MySQL Router, ProxySQL, load balancers or other TLS-terminating proxies pass the post-quantum key exchange group from client to server. A proxy that terminates TLS creates two separate handshakes, so the client's PQC group does not reach the server. Ask Oracle and each proxy vendor whether the proxy can terminate or pass through PQC, and check the Tls_key_exchange_algorithm status variable on both sides of the proxy.

SLH-DSA support

The MySQL 26.7 manual lists ML-DSA-44, ML-DSA-65 and ML-DSA-87 as the signature algorithms advertised when use_pqc_sign is enabled, and it lists no SLH-DSA support. Teams that plan around SLH-DSA as a hash-based signature option will not find it in the documented MySQL signature set. Ask Oracle whether SLH-DSA is on the roadmap and for which release line, and confirm the current list against the 26.10 manual when it is published.

26.10 PQC manual

PQC certificate generation

The MySQL 26.7 manual states that PQC certificate generation is outside the scope of the feature. The auto-generated server and client certificates created at startup are RSA 2048 with sha256WithRSAEncryption, so MySQL does not produce PQC certificates for you. Ask Oracle which tools or workflows, such as an external CA or OpenSSL 3.5 utilities, your deployment should use to issue PQC certificates, and confirm that connectors and proxies accept them.

Creating SSL files

Questions platform engineers ask about MySQL connectors and replication under PQC

Is MySQL quantum safe for client connections?

MySQL 26.7 supports post-quantum key exchange in TLS 1.3 connections when the server is built with OpenSSL 3.5.0 or later. The supported groups are hybrid X25519MLKEM768, secp384r1MLKEM1024 and secp256r1MLKEM768, plus pure MLKEM512 and MLKEM768. Classical groups remain as fallback unless you set force_pqc. This is a description of protocol support, not a compliance or safety claim. Post-quantum support in MySQL does not cover certificates, which the manual says are outside the feature's scope, and MySQL 8.4 does not carry the same feature. Confirm the exact build and settings in your environment before recording an answer.

Which MySQL version and build do I need for post-quantum key exchange?

The MySQL 26.7 manual describes the feature for MySQL 26.7.0, an Innovation release dated in the 26.7.0 release notes, and it requires a build linked against OpenSSL 3.5.0 or later. On older OpenSSL, the Boolean PQC variables cannot be enabled and tls_kex accepts only classical groups. The MySQL 8.4.9 release notes update the bundled OpenSSL to 3.5.5 but do not mention post-quantum cryptography, and the 26.7 and 26.10 manual pages found do not state which editions include the feature. Check the OpenSSL version your build reports and the edition you actually run, since the manual does not list them.

Does enabling post-quantum key exchange in MySQL cost extra?

The sources available here do not address cost. They do not state whether post-quantum key exchange is included in any edition, carries a license fee, or needs additional hardware. The MySQL products page lists several editions and makes no statement about post-quantum support for any of them. Ask Oracle, in writing, which edition and licence terms cover the feature, and ask whether any part of the work, such as a build that links a newer OpenSSL, is billed separately. Your own costs will mostly be staff time for testing and rollout, which depends on how many connectors, replicas and proxies you run.

What breaks when I turn on post-quantum TLS for MySQL?

The main risk is a client or link that cannot negotiate a post-quantum group. Set force_pqc=ON only after confirming every peer supports it, because the manual rejects force_pqc when only TLS 1.2 is permitted. Check these areas:

  • Replication: the manual notes XCom-based Group Replication is not supported, and async replication has its own replication_* variables.
  • Client connectors: client options --tls-kex, --force-pqc and --use-pqc-sign must be supported by the libmysqlclient build your application uses.
  • Certificates: PQC certificate generation is outside the scope of the feature, and the manual lists no SLH-DSA support, so certificate chains remain your responsibility.

Test each connector, proxy and replica path before enforcing any setting.

What should I ask Oracle or my connector vendor about post-quantum support?

Ask for written answers to these points, each tied to a version and edition:

  • Which MySQL editions and versions include PQC key exchange, and whether the 26.7 feature is in your edition.
  • Whether MySQL 8.4 or 9.7 LTS will receive the feature, and on what date, since the 26.7 manual is the only source found that describes it.
  • Which OpenSSL version your build links and whether it is 3.5.0 or later.
  • Whether your connector (Connector/J, Connector/Python, Connector/C++ or a third-party driver) negotiates the same groups and exposes the same options.
  • Whether signature algorithms ML-DSA-44, ML-DSA-65 and ML-DSA-87 are supported in your certificate chain, and what the vendor plans for certificates.

Record each answer with its date, since the roadmap can change.

Can my team test MySQL post-quantum TLS internally, or do we need outside help?

Your team can test internally if it has a non-production MySQL 26.7 build linked against OpenSSL 3.5.0 or later, a test client and access to the server's status variables. Use Tls_key_exchange_algorithm and Tls_sign_algorithm to confirm the negotiated group and signature, and set tls_kex or force_pqc in a test environment first. Outside help is useful when you need to check many connectors, replication links and proxies at once, or when you must produce evidence for a compliance review. DeployOpen can plan and run that testing in your own infrastructure under a fixed scope agreed in writing, but it does not issue audit reports or certifications.

How DeployOpen helps plan and test MySQL connection paths before post-quantum rollout

DeployOpen approaches MySQL post-quantum compatibility by first mapping every connector, replication link and proxy that negotiates TLS with your servers, then testing those paths against the TLS 1.3 key exchange and signature settings MySQL 26.7 exposes. Work is planned in writing before any configuration changes are made.

How we scope

  • Scope lists the client connectors, replication channels and proxies to be inventoried, named by application and version.
  • Scope states which MySQL builds and OpenSSL versions are in use, because PQC key exchange depends on OpenSSL 3.5 or later.
  • Engagements are fixed-scope, with deliverables and timelines agreed in writing before work starts.

How we build

  • Connection paths are tested under the classical and PQC key exchange groups listed in the MySQL 26.7 manual, including fallback behavior.
  • Replication and Group Replication links are checked separately, since XCom-based Group Replication is not supported for PQC per the manual.
  • Test configurations are built in a non-production environment so force_pqc and tls_kex changes can be observed before they reach live traffic.

How we hand over

  • Handover documents each connector and proxy with its negotiated group and signature algorithm, checked through the Tls_key_exchange_algorithm and Tls_sign_algorithm status variables.
  • Handover lists which clients cannot negotiate PQC, so the team can decide whether to upgrade, isolate or accept them.
  • Configuration files and runbooks are delivered for the TLS, admin, replication and mysqlx settings that were changed.

How we support

  • Ongoing support is available as a retainer for re-testing after MySQL, connector or OpenSSL upgrades.
  • Retesting covers connectors and proxies added after handover, so new paths are checked before they carry production data.
  • Support reviews MySQL release notes and manual updates on which editions include PQC, so the configuration stays current.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.