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