使用root账号安装
一、预安装环境
yum install gcc gcc-c++ openssl openssl-devel libaio libaio-devel ncurses ncurses-deve
yum -y install numactl
二、准备mysql相关安装文件、环境
下载
wget https://cdn.mysql.com//Downloads/MySQL-8.0/mysql-8.0.11-linux-glibc2.12-x86_64.tar.gz
解压
tar -zxvf mysql-8.0.11-linux-glibc2.12-x86_64.tar.gz
建立mysql的安装目录
m