Manual editing of wp-config.php didn’t work for me. So I deleted the wp-config.php and went to the browser and typed http://localhost/wordpress
without any wp-config file.
Now web interface created wp-config.php file for me and now everything works. Thanks to this interface. From yesterday I was breaking my head.
Thanks,
Giridhar.
Ya I have it as wp-config.php (sorry about that).