
It also installs all of the client utilities that you might need when working with any MySQL instances (a locally installed one or one on a remote system). This allows you to run a full database server on your system. Installing the entire MySQL Server software is the most common option. When installing MySQL, you can either install MySQL Server or MySQL client utilities.

Having added the repository and with your package cache freshly updated, now you can use apt to install the latest MySQL server package: sudo apt install mysql-server Refresh your apt package cache to make the new software packages available: sudo apt update Once the download is completed install the package : sudo dpkg -i mysql-apt-config*ĭuring the installation, you’ll be presented with a configuration screen where you can specify which version of MySQL you’d prefer, along with an option to install repositories for other MySQL-related tools.

To install MySQL 8.0.22 add the MySQL Software Repository sudo apt updateĭownload mysql-server_8.0.22-1debian10_ from MySQL archive or using wget : wget To completely uninstall MySQL follow below steps: sudo apt-get purge mysql*
