install mariadb debian 10 code example
Example 1: install mariadb
sudo apt update
sudo apt-get -y install mariadb-server
sudo systemctl start mariadb
sudo systemctl enable mariadb
Example 2: install mariadb-server rpm
curl -sS https://downloads.mariadb.com/MariaDB/mariadb_repo_setup | sudo bash
Example 3: how to install mariadb on debian
sudo apt install mariadb-server
Example 4: connect mariadb debian
mysql -h host_name -u username -p password database_name