• I just uploaded the wordpress 2.7 folder after filling out the config php but got this error when I went to /wordpress: “Error establishing a database connection”!

    HELP!!!

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi

    This usually means there is an error in your wp-config.php settings

    Double check everything. If you are still stuck post the first lines in the file, the DB connection info, and also who you host with.

    Thread Starter reviewermag

    (@reviewermag)

    Do you mean repost the config.php file as the “sample” the way it came downloaded first, re-enter the needed info for username, password and host, etc., then save it as wp-config.php?

    I am not sure which first few lines need to be re-posted…

    Also, this whole folder was downloaded and used in another domain without problem before I tried it on this domain and ran into problems, if that matters.

    The following video may help you troubleshoot the problem.

    http://educhalk.org/blog/?p=148

    I am not sure which first few lines need to be re-posted…

    Post the first lines from wp-config.php, the “live” version on the new domain, the one that WP is using and not succeeding with connecting to the database. Not the sample, not the one from some other domain, the one you are using on the domain that is having problems.

    If you are using the same wp-config.php on a second domain that you are using on some other domain, odds are you need to change the settings, unless the database name, database user name, and database user password are identical to the names on the other domain, which would not happen very often.

    If you are not sure of these, go intp phpMyAdmin on the domain you are trying to run this on. Look up the exact name of the database and the exact name of the database user, and make sure those are letter for letter identical with what is in the wp-config.php file. Unfortunately you can’t see what the password is. Do this before you post anything.

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

The topic ‘“Error establishing a database connection” error message…’ is closed to new replies.