Today I did a login as root into Ubuntu 14.04.1 LTS ll
and then apt-get install mariadb-server (without sudo but as root).
apt-get install mariadb-server
With mySQL -h l
mySQL -h l
from superuser accepted answer:
sudo mysql -u root use mysql; update user set plugin='' where User='root'; flush privileges; exit;