• Resolved spaggy

    (@spaggy)


    I have a computer running Ubuntu Server edition (with SSH access), and I have followed the guide up until the part where I should access the install.php file.

    Error establishing a database connection

    This either means that the username and password information in your wp-config.php file is incorrect or we can’t contact the database server at DB_HOST. This could mean your host’s database server is down.

    * 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?

    If you’re unsure what these terms mean you should probably contact your host. If you still need help you can always visit the WordPress Support Forums.

    I am sure that I’ve got the right password, username and hostname, as I’ve checked, rechecked and double-checked. The server itself is running, I can access it through SSH, so I don’t see where the problem is.
    Can anyone help please?

    EDIT: I have also rebooted.

Viewing 2 replies - 1 through 2 (of 2 total)
  • I have asked and asked this with no real answer.
    I have 5 WP installs working without problem, and now every install I try gives me that error.

    I am sure that I’ve got the right password, username and hostname,

    Absolutely wrong!
    Read again that error message:

    we can’t contact the database server at DB_HOST

    DB_HOST can not be the database name, that’s the code in the wp-config file, and you are supposed to write after that your database’s name.

    Read the Codex, learn how to administer a server, and read again the installation instructions!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How do I get the database server running?’ is closed to new replies.