02 July 2015

Mengatasi Error phpMyAdmin #1045 - Access denied

Tanpa basa basi llah, kali ini gw mau bahas tentang error yang terjadi pada xampp yang lebih tepatnya errornya terjadi di localhost/phpmyadmin. Dimana saat kita klik phpmyadmin di menu localhost, terjadi peringatan/warning kalo phpmyadmin denied alias kaga bisa di akses tulisan lengkapnya seperti ini :

#1045 - Access denied for user 'root'@'localhost' (using password: NO)
phpMyAdmin tried to connect to the MySQL server, and the server rejected the connection. You should check the host, username and password in your configuration and make sure that they correspond to the information given by the administrator of the MySQL server.

Nah kalo ada masalah seperti itu begini ni cara ngatasinya :
1. Cari file yang namanya config.inc.php
2. Cara nyarinya masuk ke folder xampp yang ada di C:\xampp\phpMyAdmin
3. Buka dan edit tuh isi filenya, cara buka dan editnya bisa pake notepad++ pake notepad biasa juga bisa
4. Cari text tulisan $cfg['Servers'][$i]['password'] = '  ';
5. Kalo kaya gitu ganti aja jadi kaya gini tulisannya $cfg['Servers'][$i]['password'] = 'root';
6. Jangan lupa di simpen ye bre
7. Coba di akses lagi phpmyadmin nya :D
OI...OI...OI...!!!

Visitor