- Trending Categories
- Data Structure
- Operating System
- C Programming
- Social Studies
- Fashion Studies
- Legal Studies
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
Installing MySQL from Source
Let us understand how MySQL can be installed from the source −
MySQL can be built from source code. The advantage of this is that it allows the user to customize the build parameters, the compiler optimizations, and the installation location. The below link gives a list of systems on which MySQL can be run−
Before proceeding with an installation from a source, ensure whether Oracle produced a precompiled binary distribution for the respective platform and if it works for the user or not.
Building MySQL with nonstandard options might lead to a reduction in the functionality,performance, or security of the application.
The MySQL source code has internal documentation written using Doxygen. The generated Doxygen content is available on https://dev.mysql.com/doc/index-other.html
There are two ways in which MySQL can be installed from the source −
Using a standard MySQL source distribution
Standard distributions are available as compressed tar files, Zip archives, or RPM packages.
Distribution files have names in the form ‘mysql-VERSION.tar.gz’, ‘mysql-VERSION.zip’, or ‘mysql-VERSION.rpm’, where VERSION refers to a number like 8.0.25.
File names for source distributions can be differentiated from those that have precompiled binary distributions using the fact that source distribution names are generic and have no platform name. On the other hand, binary distribution names have a platform name indicating the type of system for which the distribution has been intended to be used (for example, pc-linux-i686 or winx64).
Use a MySQL development tree
To install MySQL from a standard source distribution, the below steps have to be followed −
Verify that the system satisfies the tool requirements.
Obtain a distribution file.
Configure, build, and install the distribution with the help of instruction mentioned below.
Perform the post-installation procedures.
- Installing MySQL from source on linux
- Installing a MySQL Source Distribution
- Installing MySQL on macOS
- Installing MySQL on Linux
- Installing MySQL on Solaris
- Installing MySQL on FreeBSD
- Installing MySQL on Microsoft Windows
- Installing MySQL Using Unbreakable Linux Network (ULN)
- Installing SAP HANA Studio from SAP Marketplace
- Installing MySQL on Unix/Linux Using Generic Binaries
- Detach interrupts from a source in Arduino
- Installing Python on Linux
- Installing Python on Windows
- How to retrieve source code from Python objects?
- All Paths From Source to Target in C++