Forums

Can not establish database connection (7 posts)

  1. ex-brief
    Member
    Posted 10 months ago #

    I had my site up and working properly for about a month. I had to change my password on the database and now MU can not connect to the database. how can I tell mu the new passowrd so this works again?

  2. ex-brief
    Member
    Posted 10 months ago #

    nevermind, i am really tired i guess, brain freeze, Doh! I figured it out. thanks

  3. juliangreigh
    Member
    Posted 5 months ago #

    Solution:

    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're good to go.

    (of course it almost goes without saying - "try at your own risk")

    Hope this helps

    Julian

  4. andrea_r
    Member
    Posted 5 months ago #

    Or just edit the config file with the new details.

  5. juliangreigh
    Member
    Posted 5 months ago #

    ...you could "just" edit the wp_config. Why don't you explain how to do it in some detail?

  6. andrea_r
    Member
    Posted 5 months ago #

    you don't know how to edit a file on the server?

    The original post said he had a *working* WPMU install.

    Then he decided to change his database password.

    So then he had to change the db password details in wp-config.php

    Now, if you're on a common type of server that has something like Cpanel or Plesk, both of them have an area called a File Manager where you can look at a list of files on the server. If you click on the name of the file, it lets you edit it.

    And in the case of the OP, all he had to do was change the old db password to the new one.

    And, I'll reiterate again, the wp-config.php file does *not* belong in the wp-content folder. This thread didn't have anything to do with installation.

  7. Njualem
    Member
    Posted 5 months ago #

    @andrea_r

    Please Andrea I have a problem with my data base as well and I have a forum post here that explains the problem. Please have a look at it.

    I will appreciate any directives from you, Thanks.

Reply

You must log in to post.

About this Topic