Linux 安装MySQL
一、
在https://dev.mysql.com/downloads找到对应版本并复制下载地址
二、执行
yum install wget / apt install wget wget https://repo.mysql.com//mysql80-community-release-el8-2.noarch.rpm yum install mysql80-community-release-el8-2.noarch.rpm yum install mysql mysql-server mysql-devel -y systemctl enable mysqld.service systemctl enable mysqld.service