[SOLVED] phpmyadmin – MySQL Error #2002 in Ubuntu

Mysql Programming Software Tips and Tricks

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.

List of all Google Adsense, VueJS, AngularJS, PHP, Laravel Examples.

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

Related FAQ

Here are some more FAQ related to this Article:

  1.   localhost Phpmyadmin Server Error Solution
  2.   AngularJS Search Auto Suggestion box with PHP MySQLi
  3.   $watch() Function using Angular Example
  4.   Form Input Fields Validation using Angular Example
  5.   ng-minlength using Angular Example
  6.   Ng-Options to Bind DropdownList using Angular Example
  7.   Laravel Bootstrap Alert (flash message) with Examples
  8.   Show Hide Div on Click using Angular Example
  9.   PHP CodeIgniter Twitter Login Steps - Full Code
  10.   Count Query Codeigniter Tutorial

Leave a Reply

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