• i got the

    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 localhost. 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?

    in the config file is the database “wordpress” and should i keep it “localhost” ? i know myuser name and pw are right, so whats wrong?

Viewing 11 replies - 1 through 11 (of 11 total)
  • It depends on your host. It won’t be “wordpress”, however.
    Look in your site’s control panel under the mysql section for the db config or connection string for the parameter.
    Or just contact your host and ask.

    Thread Starter jessetheaviator

    (@jessetheaviator)

    well, i use godaddy.. i got a mysql name.. its..

    mysql31.secureserver.net
    for the host name, so is that what i have to put?
    along with my user name for my godaddy mysql acct or wordpress ? and how would i know if it’s localhost for sure ?

    For sure it is NOT localhost: it’s the servername you posted above mysql31.secureserver.net <– localhost should be replaced by this one!

    As for the DB user = it is for the godaddy mysql account and NOT for the WP admin! Same for the password.

    Yes, your DB_HOST would be mysql31.secureserver.net

    The database name and database user are the same value on godaddy. You actually give the database name and password when you create the database.

    Thread Starter jessetheaviator

    (@jessetheaviator)

    according to mysql on godaddy my database name is
    jessetheaviator
    user name is the same
    and password i put in
    and host is mysql31.secureserver.net

    but i still get the same message.
    i uploaded the new file to my ftp on godaddy, then tried to open the install.php page.
    im sorry to be annoying, i think im just missing something.

    1. Make sure you are on a Linux/Unix plan, not on a Windows server.
    2. Are you opening the install.php in a browser or from the ftp? <— this would be a mistake!

    Thread Starter jessetheaviator

    (@jessetheaviator)

    oh… didnt know it had to be linux/unix.. im not sure what godaddy uses. and im using windows on my computer, not sure if that makes a difference

    Thread Starter jessetheaviator

    (@jessetheaviator)

    actually, it says Operating System: Linux
    and yea, im making sure i hopen it via http, not ftp

    Most people report difficulties with the Win server. And the users who have more experience with your host always advise to move to a *nix server.
    It was said it’s a painless move done in a few minutes.
    Search around…

    If out of any other resources…
    http://wordpress.org/search/installing+on+godaddy?forums=1
    browse the topics about it

    The search mentioned by moshu should turn up this:
    http://wordpress.org/support/topic/90720?replies=6

    Also, in that thread I provided you should be able to access your database with phpMyAdmin so make sure you can do that.

    Finally, if you are totally stumped, put in a request at http://install4free.wordpress.com/ for a free installation.

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

The topic ‘can’t establish connection’ is closed to new replies.