WAMP 1.60
Posted by: Tom (162.130.197.---)
Date: December 29, 2005 08:40PM

Hello all.

I installed the new version of WAMP and it is acting strange. If I connect to [localhost], apache.exe crashes. However, I can go to other links under that URL. Anyone else experience this problem. I've used an older version in the past with no trouble on the same computer.


Re: WAMP 1.60
Posted by: Guy Hayton (---.cable.ubr01.live.blueyonder.co.uk)
Date: December 29, 2005 10:28PM

I am having exactly the same problem... just uninstalled and reinstalled twice with same problem!!!

Re: WAMP 1.60
Posted by: Guy Hayton (---.cable.ubr01.live.blueyonder.co.uk)
Date: December 29, 2005 10:50PM

Just figured out the problem. I bet you've changed the default root password on MySQL.
I too as a matter of course create a password for the root user and then change the authentication type in config.inc.php to be http instead of config.

However, the default WAMP index.php connects upto MySQL in order to interrogate the version of MySQL. Trouble is it doesn't know the password to do this... it's a bit much that apache.exe crashes out with a GPF but hey ho.

To fix this you could do one of two things.
a) change config.inc.php to include the root password
b) change the default index.php to be one that doesn't need a password

Re: WAMP 1.60
Posted by: yudi (202.78.199.---)
Date: December 30, 2005 02:38AM

Since this is a bug of WAMP, then I suggest, providing a way to enter the root password for WAMP.


Re: WAMP 5.0
Posted by: Saga (---.200-117-149.telecom.net.ar)
Date: January 03, 2006 04:04AM

Im having problems with php.config.inc , the thing is that I dont know where to alocate the password for mysql. Any help will be very welcome.

Re: WAMP 1.60
Posted by: Romain Bourdon (---.w193-251.abo.wanadoo.fr)
Date: January 03, 2006 11:09AM

This is not a WAMP bug, this is a PHP 5.1.1 bug. The default root password is empty.


Re: WAMP 1.60
Posted by: Tom (162.130.197.---)
Date: January 03, 2006 06:49PM

Thanks all for the help. You are correct, the default root password is empty in the PHP 5.1.1 configuration file, I was able to get things working by doing the following:

1) Edit php.ini and populate 'mysql.default_password' with a password.
2) Open the MySQL console, for the 'Enter the password' prompt just hit enter.
Then execute:

SET PASSWORD FOR root@localhost=PASSWORD('whatever');

Replace 'whatever' with your password.

3) Edit C:\wamp\phpmyadmin\config.inc.php.

Enter the password in the '$cfg['Servers'][$i]['password']' field.

4) Restart everything.

Thanks again all.

Sorry, only registered users may post in this forum.