Install 8.0/edge 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 --edge

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

MySQL is only available on the unstable edge channel. It could break and change often.

Channel Version Published

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.0/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

Details for MySQL

License
  • Apache-2.0

Last updated
  • 29 July 2025 - 8.0/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.


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