Agar Bisa masuk ke phpmyadmin:
sudo apt install mariadb*
sudo apt install apache2
lanjut:
sudo apt install phpmyadmin
cek:
cek apakah mariadb telah terinstall
jalankan perintah:
mariadb atau
sudo mariadb
sudo mariadb -u root -p
-u user bisa diganti dengan akun kita
kalau sudah masuk prompt:
kalau keluar yang seprti ini:
command:
systemctl start mariadb
cek webserser apache:
systemctl start apache2
metode lain:
service apache2 start
/start
/stop
/status
/restart
cek server apache:
firefox localhost
semua sudah berjalan;
buat database:
asumsi masih dilayar shell:
#Masuk mariadb:
sudo mariadb -u root -p
#didalam mariadb:
#create user
create user 'noel'@'localhost' identified by 'password';
#berikan hak akses ke user:
grant all privileges on *.* to 'noel'@localhost identified by 'password';
#refresh:
flush privileges
#cek user yang login di mariadb:
select now(), user();
#cek database di browser
firefox localhost/phpmyadmin
#layar login