Skip to content

Latest commit

 

History

History
24 lines (21 loc) · 918 Bytes

how-to-install-mariadb-on-debian.md

File metadata and controls

24 lines (21 loc) · 918 Bytes

How to install Mariadb on Debian?

// plain

  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

onelinerhub: How to install Mariadb on Debian?