I am new to AWS, trying to setup MySQL on EC2.
I enter sudo yum install mysql-server
and this following error appears, with a lot more lines.
Error:
Problem: conflicting requests
I enter sudo yum install mysql-server
to install mysql.
was having the same issue on AWS ec2, Performed the following steps:
vi /etc/yum.repos.d/mysql.repo
and added[mysql57-community]
name=MySQL 5.7 Community Server
baseurl=http://repo.mysql.com/yum/mysql-5.7-community/el/7/x86_64/
enabled=1
gpgcheck=1
gpgkey=https://repo.mysql.com/RPM-GPG-KEY-mysql-2022
rpm --import https://repo.mysql.com/RPM-GPG-KEY-mysql-2022
yum install mysql-community-server
systemctl start mysqld
to start the server.Hopefully, it helps!
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With