> For the complete documentation index, see [llms.txt](https://mariadb.com/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://mariadb.com/docs/release-notes/community-server/10.6/10.6.2.md).

# MariaDB 10.6.2 Release Notes

MariaDB 10.6.2 is a Release Candidate (RC) release of MariaDB Community Server 10.6, released on 2021-06-18

{% hint style="info" %}

<p align="center">The most recent release of MariaDB Community Server 10.6 is: <a href="/docs/release-notes/community-server/10.6/10.6.28.md"><strong>10.6.28</strong></a> Stable (GA)</p>

<p align="center"><a href="https://mariadb.com/downloads/" class="button primary">Download Community Server 10.6.28</a></p>

<p align="center"><a href="https://downloads.mariadb.org/mariadb/10.6.28/"><sub><em>Alternate download from mariadb.org</em></sub></a></p>
{% endhint %}

<a href="https://downloads.mariadb.org/mariadb/10.6.2/" class="button primary">Download</a> <a href="/docs/release-notes/community-server/10.6/10.6.2.md" class="button secondary">Release Notes</a> <a href="/docs/release-notes/community-server/changelogs/10.6/10.6.2.md" class="button secondary">Changelog</a> <a href="/docs/release-notes/community-server/10.6/what-is-mariadb-106.md" class="button secondary">Overview of 10.6</a>

**Release date:** 18 Jun 2021

[MariaDB 10.6](/docs/release-notes/community-server/10.6/what-is-mariadb-106.md) is the current development series of MariaDB. It is an evolution of [MariaDB 10.5](/docs/release-notes/community-server/old-releases/10.5/what-is-mariadb-105.md) with several entirely new features.

[MariaDB 10.6.2](/docs/release-notes/community-server/10.6/10.6.2.md) is a [***Release Candidate (RC)***](/docs/release-notes/community-server/about/release-criteria.md) release.

{% hint style="danger" %} <mark style="color:red;">**Do not use non-stable (non-GA) releases in production!**</mark>
{% endhint %}

Thanks, and enjoy MariaDB!

## Notable Changes

### InnoDB

* When [innodb\_adaptive\_hash\_index=OFF](/docs/server/server-usage/storage-engines/innodb/innodb-system-variables.md#innodb_adaptive_hash_index) (the default), the following counters (which reflect btr\_cur\_n\_non\_sea) will no longer be updated ([MDEV-25882](https://jira.mariadb.org/browse/MDEV-25882)):
  * adaptive\_hash\_index in [INFORMATION\_SCHEMA.INNODB\_METRICS](/docs/server/reference/system-tables/information-schema/information-schema-tables/information-schema-innodb-tables/information-schema-innodb_metrics-table.md)
  * [Innodb\_adaptive\_hash\_non\_hash\_searches](/docs/server/ha-and-performance/optimization-and-tuning/system-variables/innodb-status-variables.md#innodb_adaptive_hash_non_hash_searches) in [INFORMATION\_SCHEMA.GLOBAL\_STATUS](/docs/server/reference/system-tables/information-schema/information-schema-tables/information-schema-global_status-and-session_status-tables.md)

### Replication

* [Semisync](/docs/server/ha-and-performance/standard-replication/semisynchronous-replication.md) replica recovery is introduced. [rpl-semi-sync-slave-enabled = ON](/docs/server/ha-and-performance/standard-replication/semisynchronous-replication.md#rpl_semi_sync_slave_enabled) server executes a special recovery branch to guarantee its consistency with a primary server ([MDEV-21117](https://jira.mariadb.org/browse/MDEV-21117))

### General

* Error messages now use "MariaDB" instead of "MySQL" ([MDEV-22189](https://jira.mariadb.org/browse/MDEV-22189))
* Implement `FLUSH TABLES tbl_name [, tbl_name] ... WITH READ LOCK` for views ([MDEV-15888](https://jira.mariadb.org/browse/MDEV-15888))
* All statements can be prepared, except [PREPARE](/docs/server/reference/sql-statements/prepared-statements/prepare-statement.md), [EXECUTE](/docs/server/reference/sql-statements/prepared-statements/execute-statement.md), and [DEALLOCATE / DROP PREPARE](/docs/server/reference/sql-statements/prepared-statements/deallocate-drop-prepare.md) ([MDEV-16708](https://jira.mariadb.org/browse/MDEV-16708))

## Changelog

For a complete list of changes and bugfixes made in [MariaDB 10.6.2](/docs/release-notes/community-server/10.6/10.6.2.md), with links to detailed information on each push, see the [changelog](/docs/release-notes/community-server/changelogs/10.6/10.6.2.md).

## Contributors

For a full list of contributors to [MariaDB 10.6.2](/docs/release-notes/community-server/10.6/10.6.2.md), see the [MariaDB Foundation release announcement](https://mariadb.org/mariadb-10-6-2-now-available/).

**Do not use non-stable (non-GA) releases in production!**

{% hint style="info" %}
Be notified of new MariaDB Server releases automatically by [subscribing](https://lists.mariadb.org/postorius/lists/announce.lists.mariadb.org/) to the MariaDB Foundation community announce 'at' lists.mariadb.org announcement list (this is a low traffic, announce-only list). MariaDB plc customers will be notified for all new releases, security issues and critical bug fixes for all MariaDB plc products thanks to the Notification Services.

MariaDB may already be included in your favorite OS distribution. More information can be found on the [Distributions which Include MariaDB](/docs/general-resources/distributions-including-mariadb.md) page.
{% endhint %}

<sub>*This page is licensed: CC BY-SA / Gnu FDL*</sub>

{% @marketo/form formid="4316" formId="4316" %}
