当前位置:网站首页>MySQL CentOS installation MySQL L8

MySQL CentOS installation MySQL L8

2022-06-21 20:25:00 Shandong steamed bun

1. download MySQL8

wget http://mirrors.sohu.com/mysql/MySQL-8.0/mysql-8.0.19-1.el8.x86_64.rpm-bundle.tar
  • Here you can choose the source of Sohu or the source of China University of science and technology , Choose according to your own speed
  • http://mirrors.sohu.com/mysql/MySQL-8.0/
  • http://mirrors.ustc.edu.cn/mysql-ftp/Downloads/MySQL-8.0/

2. decompression

mkdir /opt/mysql
tar -xvf mysql-8.0.19-1.el8.x86_64.rpm-bundle.tar -C /opt/mysql

 Insert picture description here

3. Install dependency packages

yum -y install libaio.so.1 libgcc_s.so.1 libstdc++.so.6 libncurses.so.5 --
setopt=protected_multilib=false

4. install mysql-client

rpm -ivh mysql-community-client-8.0.19-1.el8.x86_64.rpm

5. install mysql-server

rpm -ivh mysql-community-server-8.0.19-1.el8.x86_64.rpm
原网站

版权声明
本文为[Shandong steamed bun]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/172/202206211812004186.html