Install MySQL Server on AlmaLinux



Install MySQL Server on AlmaLinux

Install MySQL Server on AlmaLinux

1. To install MySQL Server, execute the following command in terminal as root
or sudo : dnf install mysql-server
2. Wait for it to finish 🙂
3. Start the MySQL server, and optionally enable the
service to start automatically at system boot.
4. Now check status MySQL service is running
5. Configure after installing your MySQL server is secure it
via the following command : mysql_secure_installation
6. Select the most secure settings and choose
a strong root password.
5. Finally, the only thing left to do is add an
exception in the system firewall.