MariaDB: Instalasi

From OnnoWiki
Jump to navigation Jump to search

Instalasi

sudo apt update
sudo apt -y install mariadb-client mariadb-server

Supaya aman

sudo mysql_secure_installation


Update user root

mysql -u [user] -p
sudo mysql -u root -p
update mysql.user set plugin=’’ where user=’root’;

Restart

/etc/init.d/mysql restart