Reputation: 1
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).
Upvotes: 0
Views: 2648
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