Difference between revisions of "MariaDB: Instalasi"
Jump to navigation
Jump to search
Onnowpurbo (talk | contribs) |
Onnowpurbo (talk | contribs) |
||
Line 15: | Line 15: | ||
update mysql.user set plugin=’’ where user=’root’; | update mysql.user set plugin=’’ where user=’root’; | ||
+ | |||
+ | Restart | ||
+ | |||
+ | /etc/init.d/mysql restart |
Revision as of 04:21, 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’;
Restart
/etc/init.d/mysql restart