9951 explained code solutions for 126 technologies


mariadbHow to install Mariadb on Centos?


  1. Install Mariadb on Centos by running the following command:
sudo yum install mariadb-server mariadb
  1. Start the Mariadb service by running the following command:
sudo systemctl start mariadb
  1. Secure the Mariadb installation by running the following command:
sudo mysql_secure_installation
  1. Test the Mariadb installation by running the following command:
mysql -u root -p
  1. For more information, please refer to the Mariadb Documentation.

Edit this code on GitHub