Difference between revisions of "MariaDB: Instalasi"

From OnnoWiki
Jump to navigation Jump to search
Line 7: Line 7:
  
 
  sudo mysql_secure_installation
 
  sudo mysql_secure_installation
 +
 +
 +
Update user root
 +
 +
mysql -u [user] -p
 +
sudo mysql -u root -p
 +
 +
update mysql.user set plugin=’’ where user=’root’;

Revision as of 04:20, 16 July 2020

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’;