Side
Side

Reputation: 1

Xampp phpMyAdmin Access Denied

I am using windows 10. I recently installed Xampp into my laptop, changed the port number for Apache and MySql. They are all starting fine but when i go to phpMyAdmin i get this error message access denied

Here are MySql logs

Kindly assist me on this matter

Upvotes: 0

Views: 1832

Answers (3)

Jacktone Wambui
Jacktone Wambui

Reputation: 1

This issue mostly appears when one tries to set or change mysql password. Try editing phpmyadmin/config.inc.php and config.sample.inc.php files.

Upvotes: 0

varunkumar
varunkumar

Reputation: 340

check if you are using skype login and uncheck port no 80 and login in again in skype check this link for instructions http://el.web.id/how-to-solve-xampp-problem-port-80-443-in-use-by-skype-470

Upvotes: 0

developerCK
developerCK

Reputation: 4506

If you're getting the #2002 Cannot log in to the MySQL server error while logging in to phpmyadmin, try editing phpmyadmin/config.inc.php and change:

$cfg['Servers'][$i]['host'] = 'localhost';

to:

$cfg['Servers'][$i]['host'] = '127.0.0.1';

Solution from Ryan's blog

referr below

phpMyAdmin is throwing a #2002 cannot log in to the mysql server phpmyadmin

Upvotes: 1

Related Questions