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';
You are about to open
Do you wish to proceed?
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.
Snaps are applications packaged with all their dependencies to run on all popular Linux distributions from a single build. They update automatically and roll back gracefully.
Snaps are discoverable and installable from the Snap Store, an app store with an audience of millions.
On a Raspberry Pi running the latest version of Raspbian snap can be installed directly from the command line:
sudo apt update
sudo apt install snapd
You will also need to reboot your device:
sudo reboot
After this, install the snapd snap in order to get the latest snapd:
sudo snap install snapd
To install MySQL Server, simply use the following command:
sudo snap install mysql-strict
Browse and find snaps from the convenience of your desktop using the snap store snap.
Interested to find out more about snaps? Want to publish your own application? Visit snapcraft.io now.