In this chapter, you will learn about the installing, upgrading, and downgrading steps of MySQL 8. There are five different ways to install or upgrade; the three most widely-used installation methods are covered in this chapter:
- Software repositories (YUM or APT)
- RPM or DEB files
- Generic Binaries
- Docker (not covered)
- Source code compilation (not covered)
If you have already installed MySQL and want to upgrade, go through the upgrade steps in the Upgrade to MySQL 8 section. If your installation is corrupt, go through the uninstallation steps also in the Upgrade to MySQL 8 section.
Before installation, make a note of OS and CPU architecture. The convention followed is as follows:
MySQL Linux RPM package distribution identifiers ...