参考原文链接:https://blog.csdn.net/qq_41510551/article/details/110731610
1. 直接在虚拟机上使用命令进行下载:
wget https://dev.mysql.com/get/Downloads/MySQL-8.0/mysql-8.0.15-linux-glibc2.12-i686.tar
2. 安装依赖库
yum install libaio
yum -y install numactl
yum install ld-linux.so.2
yum install libaio.so.1
yum install libnuma.so.1
yum install libstdc++.so.6
yum install libtinfo.so.5
yum install libcrypt.so.1
3. 创建mysql用户
groupadd mysql
useradd -r -g mysql -s /bin/false mysql
4. 解压并创建链接
//将文件移动到/usr/local/
cp mysql-8.0.15-linux-glibc2.12-i686.tar /usr/local/
//进到/usr/local/
cd /usr/local/
//解压
tar -xvf mysql-8.0.15-linux-glibc2.12-i686.tar
tar -xvJf mysql-8.0.15-linux-glibc2.12-i686.tar.xz
//修改文件名
mv mysql-8.0.15-linux-glibc2.12-i686 mysql
5. 修改/usr/l