9951 explained code solutions for 126 technologies


mariadbHow to install Mariadb on Debian?


  1. Install Mariadb on Debian using the following command:
sudo apt-get install mariadb-server
  1. After the installation is complete, run the following command to secure the installation:
sudo mysql_secure_installation
  1. You will be prompted to enter a password for the root user. Enter a secure password and press enter.
  2. You will be asked a series of questions. Answer them according to your preferences.
  3. Finally, run the following command to start the Mariadb service:
sudo systemctl start mariadb

Helpful links

Edit this code on GitHub