You need to previously set the root password
echo mariadb-server-5.5 mysql-server/root_password password xxxxx | sudo debconf-set-selections echo mariadb-server-5.5 mysql-server/root_password_again password xxxxx | sudo debconf-set-selectionsAnd then
sudo apt-get -y install mariadb-serverIf you are going to uninstall mariadb totally, you may
sudo apt-get purge mariadb* && sudo apt-get autoremove
Comments