Cara Ubah Password MySQL di PhpMyAdmin (LAMPP) :
- ubah password di mysql sesuai dengan user & host lewat phpmyadmin trus pilih menu Privileges
cth : user : root, host : localhost, password : <root => setelah diubah> - ubah file config.inc.php dengan menyamakan password yang telah kita ubah di phpmyadmin yang ada localhost setelah itu ke terminal untuk lalu ketik
sudo gedit /opt/lampp/phpmyadmin/config.inc.php
lalu keluar editor yang berisi sebagai berikut :/* Authentication type and info */
$cfg['Servers'][$i]['auth_type'] = ‘config’;
$cfg['Servers'][$i]['user'] = ‘root’;
$cfg['Servers'][$i]['password'] = ‘isi password mysql baru anda’; - Simpan file config.inc.php yang telah diubah tadi
- Restart Lampp lewat terminal
/opt/lampp/lampp restart - Buka kembali PhpMyAdmin untuk memastikan apakah sudah berhasil, jika berhasil maka anda dapat memasuki menu menu PhpMyAdmin.





No comments yet
Pengumpan komentar untuk artikel ini