If you encounter some technical problems with a package on Linux, the first thing you do is probably try to reinstall it. But the configuration is still there after the package is removed, so everything goes right back to the start after reinstalling it. That's why this guide will cover how to completely purge MySQL.
MySQL is probably the most-used relational database in the world despite the fierce competition between SQL databases (e.g. PostgreSQL, MariaDB). This tutorial will cover how to set up MySQL on Debian/Ubuntu based Linux distros in CLI, so all the steps could be done through SSH without the need for a graphical interface.