How to Solve the XAMPP 1.7.7 - PHPMyAdmin - MySQL Error #2002 in Ubuntu

前端 未结 11 2186
逝去的感伤
逝去的感伤 2020-12-05 03:07

I have been through lots of forums and checked various posts on similar topic but non seems to work out for me.

I have freshly installed XAMPP 1.7.7 on my Ubuntu 11

11条回答
  •  失恋的感觉
    2020-12-05 03:58

    1. Open config.default.php file under phpmyadmin/libraries/
    2. Find $cfg['Servers'][$i]['host'] = 'localhost'; Change to $cfg['Servers'][$i]['host'] = '127.0.0.1';
    3. refresh your phpmyadmin page, login

提交回复
热议问题