• I am completely new at this, so help would be much appreciated!

    I uploaded the WordPress files to my site using FTP. Now when I try to access the install.php file, I get an error:

    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 p3nl50mysql9.secureserver.net. 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?

    I’m sure my username and password are correct. I’m using Godaddy hosting, and I checked the info for my mySQL database and it gives the host name as “p3nl50mysql9.secureserver.net” so I replaced “localhost” in the wp-config.php file. I got the same error before when it was still “localhost”. I also double-checked the wp-config file to make sure permissions were set correctly.

    I’m not sure what to try next – any suggestions? Thanks in advance.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Are you on Windows or Linux hosting package?

    I just had the same exact problem (using MySQL 5)

    After banging my head against the wall a couple of times, I had to use

    “localhost:/tmp/mysql5.sock” (without the quotes)

    That should be all you need. And you won’t even need a remote connection (unless GoDaddy forces you to use a remote connection..)

    Thread Starter devonanne

    (@devonanne)

    Hm, I tried “localhost:/tmp/mysql5.sock”, but still no luck.

    I’m using Linux hosting.

    Thread Starter devonanne

    (@devonanne)

    Nevermind, it’s working now! Thanks lindros2 – not sure what I did wrong the first time, but your solution is working 🙂 You just made my day, thanks!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Error page ‘Error establishing a database connection’’ is closed to new replies.