2026 MySQL 8.4.13 Version Number Mismatch? How to Check the Full Update Number

2026 MySQL 8.4.13 Version Number Mismatch? How to Check the Full Update Number

A server reports 8.4.13, while your inventory or another command shows a different version string.

With MySQL 8.4.13, check VERSION_WITH_UPDATE(), version_with_update, or mysqld --version-with-update for the four-part update identifier. Legacy interfaces can still return a three-part compatibility version; that difference alone does not prove an upgrade failed.

This guide is for DBAs checking MySQL 8.4 LTS patch levels, platform engineers standardizing version records across database hosts, and technical leads preparing maintenance.

Last updated November 2, 2026; verified against the MySQL 8.4.13 release notes, the 8.4 reference manual, and the MySQL work item for the version identifier.

Why the version strings differ

The MySQL 8.4.13 release notes introduce a four-part update identifier in the form MAJOR.MINOR.PATCH.UPDATE. The change adds a way to identify the update level; it does not, by itself, change the compatibility meaning of the older version interfaces. The MySQL 8.4 release notes and official work item WL#17318 describe the new identifier and its relationship to existing version reporting.

That distinction explains why one command might show three components while another can report four. The first may be returning the compatibility version, while the second exposes the more detailed update identifier. A display difference is a reason to verify the instance, not proof that the server is only partly upgraded.

Interface or record What it helps you identify How to use it
VERSION() or @@version The legacy compatibility version, which can remain three-part Keep it in existing inventory if older tooling expects this format
VERSION_WITH_UPDATE() The full update identifier reported by the connected server Use for a server-side check on versions that support the function
version_with_update The corresponding read-only system variable Query it separately when collecting system-variable data
mysqld --version-with-update Version information from the local server binary Use to inspect the binary on the host; it does not establish which remote server your client reached
mysql_upgrade_history A data-directory record that can help trace update activity Treat as supporting audit evidence, not as the sole proof of the running version

These sources answer different questions. A client connection tells you about the server that handled that connection. A local binary command tells you about the binary available on that host. A history record gives you evidence about update activity in a data directory. Comparing them is useful only when you know which host, instance, and data directory each result belongs to.

First, identify the server that answered

A common source of confusion is checking one endpoint while assuming the result belongs to another. A connection may reach a different database host, a proxy may route it to another backend, or a local shell may inspect a binary that is not the one serving the application.

Run the query through the same connection path your application or maintenance process uses:

SELECT
  @@hostname AS server_host,
  @@port AS server_port,
  VERSION() AS compatibility_version,
  VERSION_WITH_UPDATE() AS full_update_version;

The server-side function is documented in the MySQL information functions reference. The result includes both the legacy version and the full update identifier, making it easier to compare them without confusing their roles.

The output below illustrates the field layout only. The full-version value is a placeholder, not a claim about the exact update component returned by a particular installation:

server_host       compatibility_version    full_update_version
db-host           8.4.13                    MAJOR.MINOR.PATCH.UPDATE

Use the actual output from your server in your records. Do not copy the placeholder into an inventory or treat it as a literal version.

How do you check the full MySQL update number?

Use the SQL function on the server connection:

SELECT VERSION_WITH_UPDATE();

To read the system variable instead, use:

SHOW VARIABLES LIKE 'version_with_update';

You can also query it directly:

SELECT @@version_with_update;

The version_with_update variable is read-only, as described in the MySQL server system variables reference. Reading it does not modify server configuration. If the function or variable is unavailable, record that result and confirm the running server version before changing your script. Older instances may not expose the newer interface.

The function has a documented restriction related to statement-based replication. Check the function reference before placing it in statements that will be replicated in that mode. For a version audit, run a direct read-only query against each target server rather than embedding the value in replicated data-changing statements.

When does mysqld --version-with-update help?

This option checks the server binary available to the operating system process where the command runs:

mysqld --version-with-update

It can help establish which binary is installed on a host. It does not prove that a remote application connection reached that host, that the running process was started from that binary, or that the data directory belongs to the same instance. Keep it as a separate inventory field, labelled as a local binary check.

Next, compare legacy output without treating it as a conflict

VERSION() and @@version remain useful when existing dashboards, application checks, or scripts expect the compatibility version. They are not interchangeable with the full update identifier. Keep both values when your audit needs to preserve legacy reporting and track the more detailed update level.

Check If it differs from another result Next action
SQL version query through the application endpoint The endpoint may route to a different backend Capture the hostname and port from the same session
SQL query through a direct administrative connection The direct endpoint may identify a different instance Compare connection settings and server identity
mysqld --version-with-update on a host The local binary may not be the binary serving the queried instance Confirm the process, service configuration, and host
mysql_upgrade_history in a data directory The record may not correspond to the running instance or may be unavailable Check the server’s data directory and rely on a direct server query

When VERSION() displays three components and the full-version interface reports four, first confirm that both checks refer to the same server. If they do, interpret the output according to each interface’s documented purpose. Do not label it a version conflict based only on formatting.

For a fleet, record connection identity alongside the version values. A hostname alone may not be enough where a proxy or multiple instances are involved. Use the identity fields available in your environment, and keep the endpoint or instance label used by the collector.

Then, inspect mysql_upgrade_history as supporting evidence

The MySQL data directory documentation describes the location and role of server data files, including the update-history record. Begin by asking the server for its configured data directory:

SELECT @@datadir;

Then inspect the mysql_upgrade_history record in that directory using the operating system account and procedures appropriate for your deployment. The MySQL data directory documentation is the reference for the directory context. Avoid editing the record manually or assuming that its presence alone proves which server process is running.

A useful cross-check is:

Treat the history file as an audit clue, not as the authoritative current-version check. It can be missing, unreadable to the inspecting account, or associated with a data directory that is not the one used by the active process. If it cannot be read or does not match the live query, return to the server-side checks and verify the deployment source before drawing a conclusion.

Update fleet checks in a controlled sequence

A fleet script should not combine the old and new interfaces into a single ambiguous field. Preserve the compatibility version and full update identifier separately. Also record the time of collection and a stable instance identity so a later report can be traced to a specific connection.

A query for an instance that supports the new function can return the main fields together:

SELECT
  @@hostname AS server_host,
  @@port AS server_port,
  VERSION() AS compatibility_version,
  VERSION_WITH_UPDATE() AS full_update_version,
  UTC_TIMESTAMP() AS collected_at;

For older instances, the script should handle an unavailable function without discarding the fields it can still collect. Use a version-aware query path or catch and label the unsupported-function result. Do not silently copy the three-part compatibility value into the full-update field; that would make incomplete data look verified.

Script decision Safer handling
The new function is available Store its result in a separate full-update field
The function is unsupported Preserve the compatibility value and mark the full identifier unavailable
The query fails due to permissions or connectivity Record the failure state; do not infer a version
The SQL result and local binary result differ Keep both labelled by source and investigate the host-to-instance mapping

Before rolling out a revised collector, test it against representative non-production instances. Confirm how it handles unsupported functions, permission failures, and output parsing. This is especially important when dashboards or compliance exports assume every version string has the same number of components.

Use the verified result to plan maintenance

A version check tells you what an interface reports. It does not, by itself, mean that an upgrade is required or that a particular update will improve performance. Compare the verified server version with the applicable official release information, then decide whether maintenance is needed under your patch policy.

Before an update, confirm that a backup is stored outside the database host and that a restore has been tested. A backup that has never been restored is not enough evidence that the recovery path works. Confirm the rollback boundary as well: know which application changes, schema changes, and data writes would make a return to the previous state unsafe.

If the database runs on self-managed hardware, version visibility is only one part of the maintenance environment. Disk redundancy and recovery planning matter too. HubAMD’s server specifications describe the available server options and access method; the listed direct-attached drives do not include hardware RAID. Plan software RAID or database replication where redundancy is required, and keep backups outside the server. Check the relevant pricing and configuration options against the workload rather than assuming that a version audit calls for a hardware change.

For a team running the same checks across multiple hosts, choose a setup that lets administrators reach the operating system through SSH and query each database instance directly. HubAMD’s post-delivery guidance can help you assess the server handoff before building that workflow. This is a fit for sustained self-managed database operations, not a reason to move a lightweight or short-lived database off a managed service.

The decision is straightforward: if the only discrepancy is three-part versus four-part output, first verify the same live instance with VERSION_WITH_UPDATE() or version_with_update, then compare the history record and official release notes. If that audit leads to a need for a dedicated database host, compare the actual HubAMD configuration with your backup, storage-redundancy, and maintenance requirements before choosing a server.

Further reading

HubAMD AMD EPYC 7543P dedicated server

From $448/month

Configure a dedicated server HubAMD 128GB / 256GB pricing
Back to the operations blog