This may not all be strictly correct, and there may be better ways to do this, however it works for me: Check by using systemctl: sudo systemctl status mysqlĭo not forget to secure MySQL using mysql_secure_installation MySQL should be installed and running now. 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*
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |