The MU forums have moved to WordPress.org

mu installation/ Error establishing a database connection (15 posts)

  1. utamela
    Member
    Posted 15 years ago #

    I'am new here. In the installation i got this massage as shown:

    Error establishing a database connection

    Before it asked me to change the Vhost to yes or now, and i changed it to yes.
    Also it asked me to change the BASE to Blog or something else, and i changed it to mu.
    i am sure that i made the right configuration, and i am testing the script into my homeserver.
    Please help me fixing this problem. Iam stuck.

  2. utamela
    Member
    Posted 15 years ago #

    hello any one can help??

  3. gmchun
    Member
    Posted 15 years ago #

    Delete the wp-config.php and install again.Make sure your database detail is correct before click next.

  4. utamela
    Member
    Posted 15 years ago #

    i deleted the databass and the config file, and re install it agind and got the error

    Problem in wp-config.php - $base is set to BASE when it should be the path like "/" or "/blogs/"! Please fix it!

  5. utamela
    Member
    Posted 15 years ago #

    whem i write the root as in /mu/ it gives me the message:

    Warning! VHOST must be 'yes' or 'no' in wp-config.php

    and when i write yes or no it gives me:

    Error establishing a database connection

  6. utamela
    Member
    Posted 15 years ago #

    what is VHOST?

  7. utamela
    Member
    Posted 15 years ago #

    also i have the same problem into my site
    Please help!!!!!!!!!!!

  8. utamela
    Member
    Posted 15 years ago #

    I re-changed the config file. This time it gives me this message:

    No WPMU site defined on this host. If you are the owner of this site, please check Debugging WPMU for further assistance

    UP.............

  9. andrea_r
    Moderator
    Posted 15 years ago #

    Do not edit the config file. It says right at the top of the file to not edit it.

    If you;re gettign a message that it needs to be edited, then that's a different isues.

    Delete wp-config.php
    Delete .htaccess if there is one.

    Then visit your site in a borwser. What do you see? Should be an install screen. Let the install create the config file. That's the reason you're having all these errors.

  10. milordk
    Member
    Posted 14 years ago #

    Error establishing a database connection

    WPMU 2.9.2...

  11. tdjcbe
    Member
    Posted 14 years ago #

    Are you asking about this? You don't give any details as to what's occurring.

  12. milordk
    Member
    Posted 14 years ago #

    I asked:) The installation of WP MU in the root of the site, wp-config-simple has not changed ..

  13. tdjcbe
    Member
    Posted 14 years ago #

    As noted in the wp-config-sample.php file, you don;t touch it.

    Can you walk us through what you've done? Please remember you;re the only one who can see what's happening.

  14. milordk
    Member
    Posted 14 years ago #

    1) Download from mu.wordpress.org distribution WPMU
    2) extracted in the root folder of the Web server
    3) Run http://domain.ltd/index.php
    4) chmod: for root (/): 755, WP-CONTENT: 777
    5) I received a message about a problem with the connection to the database

  15. milordk
    Member
    Posted 14 years ago #

    + As a Web server using nginx, on the same server already working WP and WPMU ... configuration of desktop and server is used for the new installation ..

About this Topic