How to Install MySQL 26.7 Innovation on Debian 13
Install MySQL 26.7 Innovation on Debian 13 using Oracle’s APT repository, select the mysql-innovation series, and verify the server package.
On this page
MySQL 26.7 is an Innovation release, not an LTS release. Oracle describes both tracks as production-grade, but Innovation releases introduce changes more frequently and are supported until the next Innovation release. Choose 26.7 when you need its newer features and can test upgrades regularly. For a longer-lived feature set, install MySQL 9.7 LTS on Debian 13 instead. See Oracle’s MySQL release model.
This guide installs MySQL 26.7 from Oracle’s APT repository on Debian 13 (Trixie). At the time this guide was written, the Trixie Innovation package index listed server package 26.7.0-1debian13. Check APT’s candidate before installing because repository versions can change.
These steps are for a fresh installation. If the system already has MySQL or MariaDB data, make and verify a backup and follow Oracle’s package replacement and upgrade guidance before changing package sources. In particular, MySQL 8.4 cannot skip the 9.7 LTS release to upgrade directly to 26.7; see Oracle’s supported upgrade paths.
Prerequisites
- Debian 13 with internet access.
- A user account with
sudoprivileges. - A fresh MySQL installation, or a verified backup of any existing database you intend to replace.
Confirm that the system identifies its Debian codename as trixie:
grep -E '^(PRETTY_NAME|VERSION_CODENAME)=' /etc/os-release
Add Oracle’s MySQL APT repository
Download the repository configuration package from Oracle. The download page currently lists version 0.8.40-1; check the official download page for the current filename and checksum before using these commands:
sudo apt update
sudo apt install -y wget
wget https://dev.mysql.com/get/mysql-apt-config_0.8.40-1_all.deb
echo '981ff0a16aab27a0cd97f4c4ee49e9fd mysql-apt-config_0.8.40-1_all.deb' | md5sum --check
sudo dpkg -i mysql-apt-config_0.8.40-1_all.deb
In the configuration dialog, select MySQL Server & Cluster, then select mysql-innovation. Complete the configuration and refresh APT’s package information:
sudo apt update
Check the server candidate before installing:
apt-cache policy mysql-server
The candidate should come from Oracle’s trixie/mysql-innovation repository. The current Debian 13 package index lists 26.7.0-1debian13. If APT shows the 9.7 LTS series or a package from a different repository, run sudo dpkg-reconfigure mysql-apt-config, select mysql-innovation, and then run sudo apt update again.
Install and verify MySQL
Install the server:
sudo apt install mysql-server
Check the client version and service status:
mysql --version
sudo systemctl status mysql --no-pager
Check the server version using the authentication method chosen during package setup:
# If you configured a root password
mysql --user=root --password --execute='SELECT VERSION();'
# If local root uses socket authentication
sudo mysql --execute='SELECT VERSION();'
The server should report a version in the 26.7.x series. The patch version may advance as Oracle updates the repository, so compare the server version with the candidate you checked before installation. For an LTS installation, see MySQL 9.7 LTS on Debian 13 or browse the MySQL installation guide index.