After installing AlmaLinux in a VMware VM on my MacBook Pro (Intel Chip), and updating the packages with the following command:
sudo dnf upgrade --refresh -y
MySQL was first on my installation and configuration list. Here are the commands to install and configure it on AlmaLinux.
Install the MySQL Server packages and dependents:
sudo dnf install mysql mysql-server -y
Install the MySQL service utilities with the initscripts package, using the following command:
sudo yum install -y initscripts
Start the MySQL daemon with the following command:
sudo service mysqld start
Connect and verify the root user can connect to the database. At this point, you’ve not set the root user’s password and should use the following syntax:
mysql -uroot
It should connect and display:
Welcome to the MySQL monitor. Commands end with ; or \g. Your …[Read more]