Installing MariaDB on CentOS 8
"MariaDB is a community-developed, commercially supported fork of the MySQL relational database management system, intended to remain free and open-source software under the GNU General Public License"-Wikipedia
To install the MySQL package, run the command:
sudo dnf install mariadb-server
Once the package has installed, start the MariaDB server with the command:
sudo systemctl start mariadb
To make sure that the MariaDB server starts up when your CentOS 8 server reboots, run the command:
sudo systemctl enable mariadb
To improve the security of your MariaDB server, it is highly recommended that you run the following security script. It will have you setup a username, password, and other settings related to the integrity of your server’s security. Run the command:
sudo mysql_secure_installation
After all of that is done, you can expect to be able to connect to the MariaDB server and execute your database operations.