MySQL

Canonical Publisher Verified account Verified account

Install 8.4/stable of MySQL

Ubuntu 16.04 or later?

Make sure snap support is enabled in your Desktop store.


Install using the command line

sudo snap install mysql

Don't have snapd? Get set up for snaps.

Channel Version Published

Details for MySQL

Package name

  • mysql

License

  • Apache-2.0

Last updated

  • 17 August 2026 - 8.4/stable
  • 20 August 2026 - 9.7/edge

Websites


Contact


Source code


Report a bug


Report a Snap Store violation

Share this snap

Generate an embeddable card to be shared on external websites.

MySQL

MySQL Snap ships the minimal set of binaries needed for the MySQL server and client.

Install the snap:

If you are an Ubuntu user, snapd is pre-installed and ready to go on all recent Ubuntu releases. Simply click on the drop-down menu at the upper right-hand corner of this page, select your channel of choice (e.g. 8.4/edge), and paste the command in your terminal, e.g.:

sudo snap install mysql

Use the snap:

By default, the MySQL root user is authenticated using the auth_socket plugin, similar to the deb version in the Ubuntu package repository. Therefore, to log as the root MySQL user, you need to prefix the mysql command with sudo.

sudo mysql

Revision Channel Version Published Build Commit

The build and commit information is derived from build infrastructure records.


Install MySQL on your Linux distribution

Choose your Linux distribution to get detailed installation instructions. If yours is not shown, get more details on the installing snapd documentation.


Where people are using MySQL

Users by distribution (log)

Ubuntu 24.04
Ubuntu 26.04
Ubuntu 22.04
Ubuntu 20.04
Ubuntu 18.04
Zorin OS 18
Ubuntu 25.10
Ubuntu 25.04
Zorin OS 17
Debian 12
Debian 13
Ubuntu 24.10
Manjaro
pop 24.04
Ubuntu 23.04