adh32 — 2011-08-04T15:48:15-04:00 — #1
Hi. I hope that this is the right place for this question. I've just installed WAMP so that I can try out a CMS for the first time, but it isn't working. If I click on phpmyadmin, I get an error message about MySQL that states:
#2002 - The server is not responding (or the local MySQL server's socket is not correctly configured)
I don't understand this. Nor do I have a clue about how to fix it or where to go for an explanation that would be at my level. I only know that whatever is wrong here is also stopping any CMS from being installed.
The WAMP icon in the system tray appears to show that the services that it starts have indeed started. Is there some diagnostic page that I should look at (and give the results here)?
adh32 — 2011-08-07T10:26:10-04:00 — #2
Can no-one help with this?
chris_upjohn — 2011-08-07T11:13:58-04:00 — #3
From memory I believe this has to do with the windows hosts file located in C:/Windows/System 32/drivers/etc/
You will need to make you open the file with a text editor running as an administrator, when you have it open add the following on a new line after the current contents of the file.
That should fix it.
- Sent from my iPhone using Tapatalk
adh32 — 2011-08-07T12:13:54-04:00 — #4
Thanks for responding. I have just checked the file that you mentioned and it already has that entry at the end.
doug_g — 2011-08-07T16:56:02-04:00 — #5
Is your MySQL server running? In xampp anyway it's a windows service that you can set to start when the computer boots, or start manually later on.
spacephoenix — 2011-08-07T17:41:32-04:00 — #6
At the bottom right of the task bar, where some running apps have their icons, if you have got WAMP running there should be an icon there. Assuming it's running, left click on its icon and click "Start all services"
adh32 — 2011-08-07T19:31:55-04:00 — #7
As I mentioned, the icon appears to indicate that all services were started (it's green). I tried stopping and restarting them as well, but no luck.
spacephoenix — 2011-08-07T20:13:59-04:00 — #8
Which version of WAMP are you using and what version of windows?
adh32 — 2011-08-07T21:26:36-04:00 — #9
Windows XP. I can't answer the first part of your question, though: there seemed only to be one version, I think. In the Start menu, it's just called WampServer.
chris_upjohn — 2011-08-07T23:26:17-04:00 — #10
If you right click on the WAMP icon you will an about menu option, click that and it will tell you the version number. Try the the following just to ensure your MySQL server is running correctly.
Left click the WAMP icon and from the MySQL menu click MySQL console and for the password just hit enter. If it passes to another screen then the server is running normally, next type \s which will return the status of the server. Check to ensure the port number it returns is the default 3306 port.
To exit the command prompt simply type \q
spacephoenix — 2011-08-08T01:28:29-04:00 — #11
There is at least 2 versions of WAMP that have been released, I'm using version 2. Is the version that your using called "WAMP5"? WAMP5 I believe can be thought of as version 1.
adh32 — 2011-08-08T08:14:19-04:00 — #12
There's a graphic on WAMP's menu that shows describes it as version 2.1. (It was only downloaded a few days ago, so it should be up to date in any case.)
Sgt Legend: I just went through the menu option that you outlined, got a small black window up, pressed Enter... and the computer beeped (from the tower itself, I mean) and the black window immediately closed.
chris_upjohn — 2011-08-08T09:25:55-04:00 — #13
wow, never of the command prompt ever beeping before upon pressing enter. What i would recommend you try is uninstall WAMP completely including deleting the WAMP folder then restart your PC to ensure the services stop and re-install. If that doesn't work the next thing we can do is check what applications your running so we can ensure there are no conflicts.
PS: Make sure to backup any data you need from your WAMP folder as it will be deleted when you uninstall it.
adh32 — 2011-08-08T11:25:31-04:00 — #14
OK. I've gone through a thorough re-installation... Still not working, though.
Thanks for your help so far, chaps.
spacephoenix — 2011-08-08T14:25:38-04:00 — #15
Before you installed WAMP had you previously installed an older version of WAMP or had separate installs of Apache, MySQL or PHP.
adh32 — 2011-08-08T17:03:20-04:00 — #16
doug_g — 2011-08-08T19:26:10-04:00 — #17
You may want to get familiar with the mysql command line programs. If you can connect from the cli mysql program but not from phpmyadmin, perhaps your problem is really in the phpmyadmin configuration somewhere and not with the mysql server itself.
I am assuming wamp installs the cli mysql programs.
adh32 — 2011-08-19T11:20:15-04:00 — #18
Belatedly fixed after much head-scratching and total guesswork. I have to turn off the firewall whenever I want to run WAMP.
Far from ideal, but at least it runs. Just need to work out how to use it now.