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

Read Also:  How to Get Current Date & Time in Python

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 Crop Resize Image while Uploading using jquery plugin

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:  ng-change Event using Angular 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:  How TO Check if checkbox is checked with jQuery?
  2. Read Also:  PHP Web Application create Installer scripts
  3. Read Also:  Laravel Datatables edit Column HTML Source Code render
  4. Read Also:  localhost Phpmyadmin Server Error Solution
  5. Read Also:  Simple Vuejs Date Filter Example
  6. Read Also:  Image Crop and Upload using jQuery and PHP
  7. Read Also:  Laravel 6 Count from Join Example
  8. Read Also:  Laravel 5.6 Sending Emails using SMTP Tutorial
  9. Read Also:  How TO Check if checkbox is checked with jQuery?
  10. Read Also:  PHP Crop Resize Image while Uploading using jquery plugin

Leave a Comment

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