[在ec2 linux实例上安装mysql-server时出现类似“无可用的mysql-package的错误”

问题描述 投票:0回答:1
sudo yum install MySQL-server

这是我得到的错误

amazon-ec2 amazon-rds
1个回答
0
投票
yum install wget
wget https://dev.mysql.com/get/mysql57-community-release-el7-9.noarch.rpm
md5sum mysql57-community-release-el7-9.noarch.rpm
rpm -ivh mysql57-community-release-el7-9.noarch.rpm

yum install mysql-server
© www.soinside.com 2019 - 2024. All rights reserved.