• I am trying to install WordPress for the the first time. I setup a new database and user and entered all the information in the wp-config.php file. I also entered the IP address of the database server since it is not on the same server as the rest of my site. I then made changes to the 3 keys and uploaded everything to a subdirectory on my website. When I go to the link below I get an “Error Establishing a Database Connection” error.

    http://www.stepbackgolf.com/wordpress/wp-admin/install.php

    Any help would be greatly appreciated.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The MySQL port on your database server, 69.90.236.17, appears to be firewalled from the rest of the Internet, so perhaps it’s firewalled from your WP install as well. You can test this from a command line with:

    telnet 69.90.236.17 3306

    If it just hangs there, you’re firewalled. (If it connects, hit ctrl-] q enter to get out.) If you are firewalled, you need to talk to whoever admins the network your database server is on.

    I’m having the exact same problem. Can you check my port, too?

    http://www.freeholter.com/wp/wp-admin/install.php

    me too.. help appreciated. I’m 100% sure the details are correct.. I don’t know where else to turn. I’ve spent days trying to figure out what I’ve done wrong, and I have yet to come up with a solution.

    Here’s the site..

    http://brod.890m.com/blog/wp-admin/install.php

    Thank you.

    Hmm, it looks like all of us have our WP files inside a folder–could that be part of the problem?

    You see, I have a WP web site and it works perfectly–I’m trying to set one up on my boss’ web server. But my WP files are directly in the root folder–ours are not, and we’re having problems. Coincidence?

    Hmm.. I just tried that. I opened a new website and put it straight in the root folder.. but it still doesn’t work.

    http://brod.site40.net/wp-admin/install.php

    I’m having the same problem.

    http://www.joyfuldays.com/wordpress/wp-admin/install.php

    Can someone please advise?

    Daphnelim your’s is working fine. What did you do to it to make it work, though?

    Thanks Chaosprime for the tip. I didn’t log on till after I’d solved the problem which apparently was not a firewall issue though that’s a good thing to bear in mind in future.

    I tried lots of things like changing DB name ‘localhost’ to ‘Localhost’ in the wp-config.php file, since I’m using a Mac and apparently some Mac users have that issue. So if any of you are Mac users that may help.

    What solved my problem was reading a post here that GoDaddy, which I use as a server, does not recognise ‘localhost’. I emailed GoDaddy which confirmed it. I had to go into my server account, log into my SQL database and copy the exact number into the config file. The number looks a lot like what Chaosprime posted, just as series of numbers separated by periods.

    Rocknation, the other thing I struggled with after sorting out the server connection issue was an error message on the URL. If your WordPress is in a separate folder, you have to tell your domain to locate the blog-header.php file inside the WP folder. Open the index.php file in the main html or root, then change ‘…/blog-header.php’ to …/wordpress/blog-header.php’ assuming your folder is called wordpress. If not just type in your folder name instead of ‘wordpress’.

    Gosh I actually sound like I know what I’m talking about! And I’m a complete newbie to html and servers and wordpress. Amazing what 3 days worth of being driven up the wall can teach you!

    Thanks all.

    I just set up my wordpress account and I am trying to log into my admin area for the first time and I receive an ‘error establishing database connection’ message. Can anyone please help?

    http://www.lifebeginzatpoetry.com/wordpress/wp-admin/install.php

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

The topic ‘“Error establishing a database connection” (new install)’ is closed to new replies.