Home  >  Q&A  >  body text

mysql - After messing around with PHPMyadmin came up - #2002 - - The server is not responding (or the local server's socket is not set up correctly).

Because I need a computer on the LAN to remotely access my phpmyadmin, I need to open a remote connection. So I searched for answers everywhere on the Internet, and ended up setting these in phpmyadmin (the picture is just from the tutorial, I can’t remember exactly what my phpmyadmin settings are, I just remember that the host setting is any host and the value is %)

Then it’s a mess. No matter how you log in now, you will be prompted:

Haha, now the key has fallen into the room and cannot be entered or taken out

为情所困为情所困2723 days ago1474

reply all(2)I'll reply

  • PHPz

    PHPz2017-05-27 17:41:15

    Find the config.default.php file under the "phpMyAdmin/libraries" folder and find this line of code: $cfg'Servers'['host'] = 'localhost'; Change localhost to 127.0.0.1 and see if it works.
    If you have modified the port, make sure the port number in the configuration file is consistent!

    reply
    0
  • 为情所困

    为情所困2017-05-27 17:41:15

    Easy to say, just go to the server and play, then skip the permission table verification and re-authorize it.

    reply
    0
  • Cancelreply