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

Read Also:  10 little Importance PHP functions list with Example

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’] = ‘127.0.0.1’;

Read Also:  PHP Multidimensional Array Remove Duplicates

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'] = '127.0.0.1';

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 :

Summary

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

Read Also:  Laravel Search Comma Separated values 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.


Related FAQ

Here are some more FAQ related to this Article:

  1. Read Also:  localhost Phpmyadmin Server Error Solution
  2. Read Also:  how to get youtube subscribers count in php [updated 2021 JAN]?
  3. Read Also:  VueJS Conditional Show And Hide, v-if multiple conditions
  4. Read Also:  Linux Crontab Unix Linux Command examples
  5. Read Also:  Reuse Code in jquery Ajax Methods
  6. Read Also:  Laravel Insert Update Delete Multiple checkbox value Example
  7. Read Also:  how to check install laravel version?
  8. Read Also:  WooCommerce Get Linked Products
  9. Read Also:  how to check install laravel version?
  10. Read Also:  PHP Multidimensional Array Remove Duplicates
CLOSEX