Unable to connect to phpMyAdmin


I am trying to set up a password as when i click on mysql console it requires a password. I tried following the guide and tells me to click on phpMyAdmin. When i click on this it redirects me to a page where it does not provide me with information to change passwords. This is the information that appears

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.

MySQL said: Documentation
#1045 – Access denied for user ‘root’@’localhost’ (using password: NO)
Open new phpMyAdmin windowOpen new phpMyAdmin window

 

open C:\xampp\phpmyadmin\config.inc.php

find this line

define(‘DB_NAME’, ‘your DB name’);

/** MySQL database username */
define(‘DB_USER’, ‘root’);

/** MySQL database password */
define(‘DB_PASSWORD’, your password’);

and put the password you set in between the ”

then save and try again

Tinggalkan Balasan

Isikan data di bawah atau klik salah satu ikon untuk log in:

Logo WordPress.com

You are commenting using your WordPress.com account. Logout / Ubah )

Gambar Twitter

You are commenting using your Twitter account. Logout / Ubah )

Foto Facebook

You are commenting using your Facebook account. Logout / Ubah )

Foto Google+

You are commenting using your Google+ account. Logout / Ubah )

Connecting to %s

%d blogger menyukai ini: