WordPress.org

Ready to get started?Download WordPress

Forums

Error establishing a database connection (8 posts)

  1. missxjasmine
    Member
    Posted 9 years ago #

    this is xactly what it syas when i go to the install page
    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.

    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 checked the config page and everything is tpyed in please help

  2. Mark (podz)
    Support Maven
    Posted 9 years ago #

  3. jesslin
    Member
    Posted 9 years ago #

    I'm having the same problem..... still no idea as to why and I'm running an ok version of MySQL.

  4. TomMoore
    Member
    Posted 9 years ago #

    Me too. I have tracked this problem all over the place and there are numerous mentions, as many fixes - here's one;
    http://faq.wordpress.net/view.php?p=68
    and I end up somewhere with mention that WordPress does not like IIS in general. Sooo, reformat, re-install 2000 Server and all that entails, this time setting up Apache 2.0 - JUST so I can get WordPress going and .... same issue, same place - can't login as admin as my password or name or localhost is wrong. They're not. Is the problem simply WINDOWS? This is a fresh rebuilding of my server, format on down. I am new to Apache, having run IIS for a few years so setting up PHP and MySql was even more of a trick than usual but all appears well at present. And then there is WordPress. I won't switch to an IX box - I worked with various flavors in my many years of county computer administration and I won't argue any point about IX except that I like Windows. Will WordPress work for me??

  5. There is also a known issue with this error message and MySQL v4.1.7.

    http://codex.wordpress.org/Answers-Installation#MySQL_4.1.7

  6. TomMoore
    Member
    Posted 9 years ago #

    http://www.hushaboom.com/WordpressError.htm

    This seems to be everywhere and no fix forthcoming??

  7. BobF
    Member
    Posted 9 years ago #

    OK, I've done the registery hack for CGI, verified CL login works for MySQL, granted write access to the php uploadtmp and session directories, etc. Still no luck getting install.php to execute without telling me lies about my id and password for MySQL :-)

    I have not followed http://faq.wordpress.net/view.php?p=68 - it doesn't *flow* for me.

    Server2003, MySQL 4.1.10a, php 4.3.1, IIS6.

  8. BobF
    Member
    Posted 9 years ago #

    The update added by Nabil at the bottom of
    http://codex.wordpress.org/Answers-Installation#MySQL_4.1.7
    solved my problem - I'm up and running on Server2003, MySQL 4.1.10a, php 4.3.1, IIS6!

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.