gisharma
Member
Posted 8 months ago #
Hello experts,
After editing wp-config file and go to http://localhost/wordpress, nothing gets displayed. However if I just copy existing wp-config-sample.php as wp-config file it gives "DATABASE CONNECTION ERROR" (atleast something gets displayed) . Can you please let me know what may be the problem here.
I have created database and users.
I am using mysql : 5.0.77
php : PHP 5.3.17 (cli)
Thanks,
Giridhar
Did you enter your database info in the file you created is it named wp-config if so it should be wp-config.php
gisharma
Member
Posted 8 months ago #
Ya I have it as wp-config.php (sorry about that).
then only problem can is database info recheck
gisharma
Member
Posted 8 months ago #
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.
pwhstacy
Member
Posted 8 months ago #
Hello,
Please make sure that you have enter the correct user name, database name and password in wp-config file. I will suggest you to do it manually and give a try.