WordPress.org

Ready to get started?Download WordPress

Forums

Error establishing a database connection (9 posts)

  1. TheFallen
    Member
    Posted 7 years ago #

    I keep getting Error establishing a database connection.

    Now, I've set up the MySQL databases, repeatedly, put the names in, there are no spaces anywhere, I've entered the correct password, the user has full rights, I can view the databases, they're on the local machine, I have MySQL 4.1.1.0.

    Every time I set up WordPress I get these errors, every time I try to install it, even with 1.9 and earlier versions. This "Famous 5 minute install" is a load of rubbish, but I'd just want to check that I'm not doing anything to break it.

    The site in question is http://www.thedarkplace.a0tu.com

  2. nevertheless
    Member
    Posted 7 years ago #

    I'm having the same issue, i have it up on a paid mysql server, database name is correct, everything is turned on, i can test php pages, login username is correct, still the same bogusity, famous 5 minutes has turned into failed 40 minutes.

  3. hexdj
    Member
    Posted 7 years ago #

    If you guys are using godaddy as your hosting provider, you might have to swicth Operative System (WordPress usually works if you use Linux/PHP). But it could be something else as well, if you do a search you can find more solutions.

  4. TheFallen
    Member
    Posted 7 years ago #

    Mine is linux. I've had a look at other solutions, and none seem to help.

  5. hexdj
    Member
    Posted 7 years ago #

    Well, if you ARE using godaddy you are most likely to have to change your DB Host address, they usually look like h50mysql503.securenet.net and I see your site is trying to connect to localhost.

    If you did perform a search about the subject you should have seen something about that.

  6. suspus
    Member
    Posted 7 years ago #

    I have exactly the same problem today

  7. 4k
    Member
    Posted 7 years ago #

    If any of these are on godaddy try this tutorial see if it helps

  8. TheFallen
    Member
    Posted 7 years ago #

    I'm not on GoDadddy. And I have searched these forums, with most of the replies to this question being; check your database name, check your DB login & password. I have, they are correct.

  9. Ahni
    Member
    Posted 7 years ago #

    If it's the same as what I go through, it's because the number of allowed persistent connections to the database is set too low -- You'll have to contact your hosts and ask them to increase the number.

    Good luck - Ahni.

Topic Closed

This topic has been closed to new replies.

About this Topic