[SOLVED] phpmyadmin – MySQL Error #2002 in Ubuntu

Today, We want to share with you [SOLVED] phpmyadmin – MySQL Error #2002 in Ubuntu.In this post we will show you how to solve error #2002 in phpmyadmin?, hear for #2002 connection refused in ubuntu we will give you demo and example for implement.In this post, we will learn about phpmyadmin the server is not responding #2002 with an example.

[SOLVED] phpmyadmin – MySQL Error #2002 in Ubuntu

There are the Following The simple About [SOLVED] phpmyadmin – MySQL Error #2002 in Ubuntu Full Information With Example and source code.

As I will cover this Post with live Working example to develop xampp phpmyadmin access denied 2002, so the xampp mysql not starting – resolved for this example is following below.

SOLVED – Error #2002 in phpmyadmin

Best Solution To the XAMPP 1.7.7 – PHPMyAdmin – MySQL Error #2002 in Ubuntu

1: Open config.default.php file under phpmyadmin/libraries/

2: Find $cfg[‘Servers’][$i][‘host’] = ‘localhost’; Change to $cfg[‘Servers’][$i][‘host’] = ‘’;

3: refresh your phpmyadmin page, login

[SOLVED] phpmyadmin - MySQL Error #2002 in Ubuntu -resolved

/* Authentication type */
$cfg['Servers'][$i]['auth_type'] = 'config';
$cfg['Servers'][$i]['user'] = 'root';
$cfg['Servers'][$i]['password'] = '';
/* Server parameters */
$cfg['Servers'][$i]['host'] = 'localhost';
$cfg['Servers'][$i]['compress'] = false;
$cfg['Servers'][$i]['AllowNoPassword'] = true;
$cfg['Servers'][$i]['host'] = 'localhost';

into change some host name

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

And then last restart or start lampp/xampp and MySQL with apache2.

sudo /etc/init.d/apache2 stop
sudo /etc/init.d/mysql stop
sudo /opt/lampp/lampp start
Angular 6 CRUD Operations Application Tutorials

Read :


You can also read about AngularJS, ASP.NET, VueJs, PHP.

I hope you get an idea about [SOLVED] phpmyadmin – MySQL Error #2002 in Ubuntu.
I would like to have feedback on my Pakainfo.com blog.
Your valuable feedback, question, or comments about this article are always welcome.
If you enjoyed and liked this post, don’t forget to share.

Leave a Comment