There are two methods for installing MySQL from source:
Use a standard MySQL source distribution. To obtain a standard distribution, see Section 2.3, “How to Get MySQL”. For instructions on building from a standard distribution, see Section 4.4, “Installing MySQL Using a Standard Source Distribution”.
Standard distributions are available as compressed tar files, Zip archives, or RPM packages. Distribution files have names of the form
VERSIONis a number like
8.0.32. File names for source distributions can be distinguished from those for precompiled binary distributions in that source distribution names are generic and include no platform name, whereas binary distribution names include a platform name indicating the type of system for which the distribution is intended (for example,
Use a MySQL development tree. For information on building from one of the development trees, see Section 4.5, “Installing MySQL Using a Development Source Tree”.