Home > Jobs > Technology > Programming > Mysql > [SOLVED] phpmyadmin – MySQL Error #2002 in Ubuntu

[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.

Also Read :  localhost Phpmyadmin Server Error Solution

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 :


:: Related Posts ::

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

Also Read :  how to create plugin in wordpress with example

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.

Jaydeep Gondaliya
Hi, I’m Web developer, PHP developer.Pakainfo.com is the most popular Programming & Web Development blog. Our mission is to provide the best online resources on programming and web development.Any visitors of this site are free to browse our tutorials, live demos, Examples and download scripts.If you have a project that you want to get started, launch quickly, contact me. Email : [email protected]

Leave a Reply

Your email address will not be published. Required fields are marked *