Install the full version of MySQL source code in Linux
Install MySQL in Linux, usually by using RPM and source code. For the production environment, you need to customize the installation path, data file location, Character Set, and supported storage engines by using the source code for installation. I have written an article about source code installation. MySQL 5.6 is installed in Linux using the source code method, but it is not complete. Therefore, this article can be used as a supplement. The installation steps are as follows.
1. description before installation
Feature package
MySQL compilation Parameters
This installation environment
2. Install MySQL with source code
Download the required software package:
Install the cmake Compiler
Install m4
Install bison
Create mysql users and groups and related directories
Install mysql
Initialize Database
3. finishing work after installation
Create boot start
Set root Password
Login Account
Configuration parameters