Install 8.4/stable of MySQL Server
Ubuntu 16.04 or later?
Make sure snap support is enabled in your Desktop store.
Install using the command line
sudo snap install mysql-strict
Don't have snapd? Get set up for snaps.
MySQL is the world's most popular open-source relational database management system, powering many of the world's most accessed applications, including Amazon, Netflix, Uber, and many more. It delivers a multi-threaded, multi-user, and robust SQL database server for mission-critical, heavy-load production systems. MySQL is fast, reliable, and powerful.
Commands:
mysql-strict.mysql
mysql-strict.mysqladmin
mysql-strict.mysqldump
mysql-strict.mysqlimport
Tip: For convenience, you can create an alias using snapd's alias feature.
sudo snap alias mysql-strict.mysql mysql
Note: By default, this snap uses the auth_socket
plugin, similar to the deb version. Therefore, sudo
is required to authenticate the MySQL root user.
sudo mysql
To log in with a password instead (using mysql -u root -p
), execute the following SQL statement (change YOUR_NEW_PASS
below with a strong password):
ALTER USER 'root'@'localhost' IDENTIFIED WITH caching_sha2_password BY 'YOUR_NEW_PASS';
Thank you for your report. Information you provided will help us investigate further.
There was an error while sending your report. Please try again later.
You are about to open
Do you wish to proceed?
Generate an embeddable card to be shared on external websites.
Choose your Linux distribution to get detailed installation instructions. If yours is not shown, get more details on the installing snapd documentation.