The latest mysql versions require cmake compilation and installation. It is estimated that this method will be used in future versions. Therefore, we will record the installation steps and procedures for your reference.
Note: This installation is the latest toolkit installed under the default Redhat, such as GNU make, GCC, Perl, libncurses5-dev, if there is a missing toolkit found during the compilation and installation process, first, download and install yum install separately before continuing.
1. download the required software using wget in linux and save it to the/usr/local/src directory.
Wget ftp://mirror.switch.ch/mirror/mysql/Downloads/MySQL-5.5/mysql-5.5.20.tar.gz
Wget http://www.cmake.org/files/v2.8/cmake-2.8.7.tar.gz
Wget http://ftp.gnu.org/gnu/bison/bison-2.5.tar.gz
Ii. Install cmake
Cd/usr/local/src
Tar zxvf cmake-2.8.7.tar.gz
Cd cmake-2.8.7.tar.gz
./Bootstrap
Gmake
Gmake install
Cd ../
Tar zxvf bison-2.5.tar.gz
Cd bison-2.5
./Configure
Make
Make install
Cd ../
From xiaobao's column