October
12
install mariadb in ubuntu
1 apt-get update; apt-get upgrade
2 apt-get install -y mariadb-server htop rsync mc nano vim
3 mysql_secure_installation
4 echo "update user set plugin='' where User='root'; flush privileges;" | mysql -u root -p mysql
5 apt-get install -y phpmyadmin
6 nano /etc/mysql/mariadb.conf.d/50-server.cnf (need to comment line bind-address)
7 /etc/init.d/mysql restart