Unable to find a match: mysql on ec2-connect

1

When i ran this command on ec2- connect

EC2 - ImageId='ami-0ded8326293d3201b'

sudo yum install -y mysql Last metadata expiration check: 0:24:15 ago on Sat Sep 2 07:03:34 2023. No match for argument: mysql Error: Unable to find a match: mysql

although i have configure security group to MYSQL/Aurora and also set the VPC

AV
asked 8 months ago5378 views
2 Answers
5
Accepted Answer

Hello.

The Amazon Linux 2023 repository does not seem to contain MySQL.
https://docs.aws.amazon.com/linux/al2023/release-notes/support-info-by-package.html

Therefore, the following installation procedure must be used.

sudo su -
dnf -y localinstall https://dev.mysql.com/get/mysql80-community-release-el9-4.noarch.rpm
dnf -y install mysql mysql-community-client

If you are installing MySQL Server as well as MySQL Client, please also execute the following commands.

dnf install mysql-community-server
profile picture
EXPERT
answered 8 months ago
profile picture
EXPERT
reviewed 8 months ago
profile pictureAWS
EXPERT
reviewed 8 months ago
0

Update all the package using below command and then try installing MySql:

sudo yum update -y

sudo yum install mysql -y

answered 4 days ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions