1. Installation Environment: [[[email protected] ~]#[[email protected] ~]# uname-alinux localhost.localdomain 2.6.32-504.16.2. el6.x86_64 #1 SMP Wed Apr 06:48:29 UTC x86_64 x86_64 x86_64 gnu/linux[[email protected] ~]# [[Email prot Ected] ~]# uname-r2.6.32-504.16.2.el6.x86_64[[email protected] ~]# [[email protected] ~]# cat/etc/ Redhat-release CentOS Release 6.6 (Final) [[email protected] ~]# 2. Download the appropriate cmake,mysql-5.5.32 source package:[[email Protected] ~]# cd/usr/local/src/[[email protected] src]# lltotal 29580-rw-r--r--. 1 root root 5691656 Apr 13:42 cmake-2.8.8.tar.gz-rw-r--r--. 1 root root 24596474 Apr 13:44 mysql-5.5.32.tar.gz[[email protected] src]# [[email protected] src]# TAR-ZXVF cmake-2.8.8.tar.gz [[email protected] src]# echo $?0[[email protected] src]# CD cmake-2.8.8[[email Protected] cmake-2.8.8]# yum install gcc gcc-c++[[email protected] cmake-2.8.8]#./configure [[email Protected] cmake-2.8.8]# gmake &&AMp;gmake install[[email protected] cmake-2.8.8]# CD. [[email protected] src]# tar-xf mysql-5.5.32.tar.gz [[email protected] src]# [[email protected] src]# CD mysql-5.5.32[[email protected] mysql-5.5.32]# groupadd mysql[[email protected] mysql-5.5.32]# useradd Mysql-g mysql-m-s/sbin/nologin [[email protected] mysql-5.5.32]#
This article is from the "mysql_db" blog, make sure to keep this source http://mysqldb.blog.51cto.com/10264653/1655423
Single-machine multi-instance multi-configuration file based on mysql-5.5.32