anand kumar
anand kumar

Reputation: 1

xampp phpmyadmin access denied error(#2002) on linux

I installed xampp in my pc(Linux endless os 3). Php is working fine but when I open my http://localhost/phpmyadmin in the browser it is displaying an error

2002 - No such file or directory — The server is not responding (or the local server's socket is not correctly configured).

Error is shown as below enter image description here

Upvotes: 0

Views: 2648

Answers (1)

Antu
Antu

Reputation: 2303

Open the file config.inc.php in any text editor.

Find this line

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

And change it to

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

I find this solution in this website http://throughthesql.blogspot.com/2017/05/configuring-phpmyadmin-to-connect-to.html

Upvotes: 1

Related Questions