Error: the server is not responding (or the local MySQL server socket is configured incorrectly)

I am learning PHP + MySQL. I have not bought a web hosting plan, so for now I plan to check everything locally. From my research, I found WAMPserver.com. I downloaded the installation for WAMP and made a basic setup, without changing anything in the settings and without taking any action after that. I wanted to create some databases and practice in SQL, but when I click phpmyadmin, I get the following error:

#2002 - The server is not responding (or the local MySQL server socket is not correctly configured)

I tried a google search and can't figure out what I'm doing wrong. I tried changing the installation files in c: / wamp / apps, but I donโ€™t think I did it right because it still didnโ€™t work (I tried changing the phpmyadmin and sqlbuddy configuration files to 127.0.0.1 on localhost, it didnโ€™t work, therefore I changed it returns to the local host).

EDIT: . So now my configuration file in the phpmyadmin application folder has not changed since it was installed. So he has nothing in the port, socket, password. Do I need to configure this, perhaps to solve the problem? If so, what should I use?

Similarly, I did not change the configuration file for sqlbuddy1.3.2 in the application folder

+3
source share
4

WAMP? ( , ) , , - . wamp/wampmanager.exe( Windows).

Windows, WAMP, .

0

apache mysql ( ), wamp? 80 (HTTP) 3306 (MySQL).

, .

( ), , .

netstat

netstat -a -b
0

You probably have an old my.ini or my.cnf file located somewhere on your hd, and the options are no longer supported by newer versions of mysql. Locate my_print_defaults.exe and run it to find out where mysql is looking for configuration files and in what order. Rename the old files to another location and leave only one in the wamp directory.

0
source

Try xampp. Super easy installation and works like a charm.

http://www.apachefriends.org/en/xampp.html

Move the files and make sure you stop your WAMP server or encounter Apache.

0
source

All Articles