• Resolved reptilegrrl

    (@reptilegrrl)


    When upgrading WP on one of my sites, I had to create a new wp_config file from a backup. Basically, the instructions in the upgrade directions, about making the wp-config files match, did not work and screwed up my upgrade. I fixed it, all was well… until a little while later I upgraded another site, and accidentally copied that wp_config file onto this other site. Now the upgrade won’t work there, because the wp_config file is wrong, and I can’t access the site in any way.

    What are my options in terms of making this right? The only thing I can think of is to make a backup of the DB and then do a re-install. Is this my only option? I’ve never been able to get that to work before so I am a little intimidated.

    Is it possible to look into the database somehow to find out the information that I need to insert in the wp_config file?

    Thanks,

    Priscilla

Viewing 6 replies - 1 through 6 (of 6 total)
  • The only information that goes in the wp-config file are the databasename, username and password for that database. You created those yourself (I asume), so it shouldn’t be too hard to find those. Just go to the place where you created the database and see what it says.

    Thread Starter reptilegrrl

    (@reptilegrrl)

    Unfortunately, I didn’t create them. They were created by the easyapps utility at my web host 🙁 The passwords are created totally randomly. Is there a place in the database where I can find the password?

    I got distracted right before this upgrade and foolishly forgot to make a backup. I could be in real trouble here.

    Is there a place in the database where I can find the password?

    Not unless youre root.

    Does your host use some sort of file manager thingy like cpanel, plesk, etc? If so, what do they use?

    Thread Starter reptilegrrl

    (@reptilegrrl)

    If you mean the control panel, it’s just called “custom control panel.” They also have a web-based file manager/ftp program called Webshell, but that doesn’t access the database.

    I have NEVER upgraded without backing up before- I really feel stupid now, but there has to be a way to fix this. I’ve got a support ticket into my host, too, but they are really fuzzy about WP-related things.

    this isnt a wp thing. this is a MySQL thing.

    1. they can tell you the username that is needed to access whatever dbs you have created and are using.

    2. they can change the password for the associated username even IF they claim to not be able to retrieve the old one for you. It is hashed …

    Thread Starter reptilegrrl

    (@reptilegrrl)

    Well, I have good news: the ONE GUY at my web host who seems to be a WP user was on duty tonight and he fixed it for me. He just went in and put the info into a new wp_config file. Yay for good tech support. Whew! I was very worried there. Thank you ALL for your help! Because of y’all I would have been able to fix it if he had not, and I really appreciate your comments.

    I do notice one thing: the two sites I have upgraded seem to be running a bit slow; has anyone else had this problem with upgrading to 2.6?

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Bad problem with wp_config.php when upgrading’ is closed to new replies.