I'm trying to install MySQL on a Amazon Linux 2 server and I can't seem to get past this dependency issue (prevents server pkgs etc being installed thus preventing me from starting a mysql-server.
Commands I ran are below:
sudo wget https://dev.mysql.com/get/mysql80-community-release-el8-1.noarch.rpm
sudo rpm -Uvh mysql80-community-release-el8-1.noarch.rpm
sudo yum install mysql-server
sudo yum provides */libmysqlclient.so.18
sudo yum install mariadb-libs-5.5.68-1.amzn2.x86_64
sudo systemctl status mysqld
sudo systemctl start mysqld
The following errors I receive when attempting sudo yum install mysql-server and sudo status mysql-server:
sudo systemctl status mysql-server
No clue how to proceed from here, haven't been able to find any helpful resources online, would be very grateful if someone here could help me install and get the MySQL server up and running, as this is something I'm struggling with for work.
Kindest regards.