Installing MySQL on Amazon Linux 2023
Manu Muraleedharan
Posted on February 15, 2024
MySQL does not come by default with Amazon Linux 2023.
I ran into some challenges installing it, and had to consult multiple blogs for success.
Follow these steps to install it.
- Download the RPM file
sudo wget https://dev.mysql.com/get/mysql80-community-release-el9-1.noarch.rpm
- Install RPM file
sudo dnf install mysql80-community-release-el9-1.noarch.rpm -y
- You need the public key of mysql to install the software.
sudo rpm --import https://repo.mysql.com/RPM-GPG-KEY-mysql-2023
- If you need to install mysql client:
sudo dnf install mysql-community-client -y
If you need server:
sudo dnf install mysql-community-server -y
💖 💪 🙅 🚩
Manu Muraleedharan
Posted on February 15, 2024
Join Our Newsletter. No Spam, Only the good stuff.
Sign up to receive the latest update from our blog.
Related
githubcopilot AI Innovations at Microsoft Ignite 2024 What You Need to Know (Part 2)
November 29, 2024