The MU forums have moved to WordPress.org

database error on install (9 posts)

  1. blogfloss
    Member
    Posted 17 years ago #

    We have been having all kind of problems trying to install wpmu.
    This is our latest error and we cannot resolve it........
    "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. This could mean your host's database server is down."
    We know our database server is localhost and I actually went in and made a new database to ensure our username and password information was correct and we still get this error.
    Can anyone assist me with this? Any ideas?

  2. andrea_r
    Moderator
    Posted 17 years ago #

    Don't edit the config file manually. let WPMU create it for you.

    http://wpmututorials.com/installation/installing-wordpressmu-the-e-book/

  3. blogfloss
    Member
    Posted 17 years ago #

    I haven't edited the config file and I still get that error. Any other tips?

  4. andrea_r
    Moderator
    Posted 17 years ago #

    Get someone else to check for typos?

    That error is displayed because it can't get to the db server, or the user/pass is not correct.

    Does the user have ALL permissions on the db?

  5. blogfloss
    Member
    Posted 17 years ago #

    Ok, I started it all over and my install was finally a success.
    I am having another problem now though. When I logged in to admin it now shows "Index of /wordpress-mu/wp-admin" and it lists all the files.
    Also, when I go to our website address it also just shows the index files.
    Any tips on this???

  6. andrea_r
    Moderator
    Posted 17 years ago #

    You're server's not set to execute php files?

  7. tdjcbe
    Member
    Posted 17 years ago #

    Either that or it;s not setup to see index.php as an index file.

  8. juliangreigh
    Member
    Posted 17 years ago #

    The issue is with the wp_config file in the wp_content folder.

    fast fix:

    1. delete wp_config file
    2. WP will prompt you to set up your blog site again
    3. Enter the username and password of your original database
    4. WP will create a new wp_config file and reconnect to your database

    you should be good to go.

    Julian

  9. andrea_r
    Moderator
    Posted 17 years ago #

    "The issue is with the wp_config file in the wp_content folder."

    Well, someone put that in the wrong place. Because it doesn't do that.

About this Topic

  • Started 17 years ago by blogfloss
  • Latest reply from andrea_r