I suspect this is due to Windows 7 seems to interpret localhost
differently from 127.0.0.1
which is basically SHOULD be the same thing like in previous Windows releases. Try changing…
define('DB_HOST', 'localhost');
to
define('DB_HOST', '127.0.0.1');
in your wp-config.php file.
Hi Grejs,
Thanks for the tip, I will definitely try this.
But when I try http://localhost/ the site root loads within no time. The problem is only with wordpress sites.
I will change the config file and try again.
Kiranvj
I changed to define(‘DB_HOST’, ‘127.0.0.1’);
Still its not working. I think it has sometime to do with Win7 and Vista.
I uninstalled WAMP 1.6.5 and installed the latest version WAMP 2.0. I think the issues is solved now.
Its sad that no one in the forums could not help even though the forum have many experts!!
Its sad that no one in the forums could not help even though the forum have many experts!!
Sad? On the contrary. If this forum was for WAMP, you may have gotten more responses. Either way, it’s good that installing the latest version of WAMP seemed to solve your issue, rather than somthing with WordPress itself. 🙂
Clayton,
I guess its not related to WAMP, all my other PHP projects works fine. Even old WP installations work fine. But not wp 2.8 and above.
If this forum was for WAMP, you may have gotten more responses.
Not necessary, in that case the guys there might say if its a wordpress forum you will get more response.
I am not trying to blame anyone. My guess is that some recently written code in WP is messing with apache,php or mysql.
Anyway I am happy that its fixed.