• Hi,
    I have downloaded the latest version of WordPress 4.3.1, and extracted it in my localhost directory, after i created the database using PHPMyAdmin, then I tried to setup the site by accessing ( localhost/sitefolderName ), it return this error (Error establishing a database connection). however wp-config.php not there. I don’t know why it’s happening.

    However, I have configured my site by making wp-config.php file manually

    Please help for this issue.

    Thanks,
    Kaleem

Viewing 1 replies (of 1 total)
  • Hi, that type of error has always something to do with the database as it says. If you have wp-config.php folder check if everything is right especially with regards to the database name.

    I suppose that you used:
    Database name: your chosen name
    User: ROOT
    Password: it is usually blank, depending on whether you set up a password for this on PHPmyadmin.

    Make sure everything is fine, cross check it. You will see that the problem is somewhere there.

Viewing 1 replies (of 1 total)
  • The topic ‘Error establishing a database connection With fresh setup of WordPress’ is closed to new replies.