Support » Installing WordPress » Error establishing a database connection

  • missxjasmine


    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

Viewing 7 replies - 1 through 7 (of 7 total)
  • jesslin


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



    Me too. I have tracked this problem all over the place and there are numerous mentions, as many fixes – here’s one;
    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??

    Moderator James Huff


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



    This seems to be everywhere and no fix forthcoming??



    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 – it doesn’t *flow* for me.

    Server2003, MySQL 4.1.10a, php 4.3.1, IIS6.



    The update added by Nabil at the bottom of
    solved my problem – I’m up and running on Server2003, MySQL 4.1.10a, php 4.3.1, IIS6!

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