• I have got the following error message when I goto wp-admin/install.php

    Error establishing a database connection
    * Are you sure you have the correct username and password?
    * Are you sure that you have typed the correct hostname?
    * Are you sure that the database server is running?

    1) The username and password I type on wp-config.php is my login username and password?
    2) What is the correct hostname?
    3) How can I know if the database server is running?

Viewing 3 replies - 1 through 3 (of 3 total)
  • I just did a video tutorial taking you from step 1 to your final step installing WordPress manually:

    http://wpbloghost.com/install-wordpress-maually/

    Start with Video 2 – it gets into the wp-config.php settings.

    The most common reason for seeing that error message is you didn’t fill in your wp-config.php file properly.

    Make sure you included:
    Database Username
    Database Name
    Database Password
    Database Host

    If just one of those are forgotten, it won’t work.

    What if all three are correct, and I still get that error.

    The other situation I’m having is when I attempt to install wordpress on a different IP address than the MySQL is installed on….same machine, just a different IP….When I attempt to run install.php, I get an error that says, “no input file specified.”

    I have attempted a variety of settings for hostname in the config.php file, and nothing makes any difference in either iteration of wordpress I’ve tried to get running.

    WCW

    I want to thank you for your assistance. I have found the answer to my problem in a combination of other forums and other threads in this forum….

    1. I had to configure the Host listing for my specific database in MySQL to “any host.” which set a % in the text box next to that drop-down in PHP MyAdmin.

    2. I had to comment out the doc_root setting in php.ini

    3. And finally, once I got WordPress to install, I could not see the site in the root folder of my Website, and realized after reading a post here that I’d overwritten the index.php file that launches the theme of WordPress, with a test file that had other code in it. I replaced the propoer code in the index.php page, and voila!!!

    I am up and running. Now I can get complete the configuration and get content in there, and I’ll have a blog!

    I just wanted to thank everyone for their assistance. WCW

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Error establishing a database connection’ is closed to new replies.