Title: Bad problem with wp_config.php when upgrading
Last modified: August 19, 2016

---

# Bad problem with wp_config.php when upgrading

 *  Resolved [reptilegrrl](https://wordpress.org/support/users/reptilegrrl/)
 * (@reptilegrrl)
 * [17 years, 10 months ago](https://wordpress.org/support/topic/bad-problem-with-wp_configphp-when-upgrading/)
 * 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)

 *  [Roy](https://wordpress.org/support/users/gangleri/)
 * (@gangleri)
 * [17 years, 10 months ago](https://wordpress.org/support/topic/bad-problem-with-wp_configphp-when-upgrading/#post-826358)
 * 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](https://wordpress.org/support/users/reptilegrrl/)
 * (@reptilegrrl)
 * [17 years, 10 months ago](https://wordpress.org/support/topic/bad-problem-with-wp_configphp-when-upgrading/#post-826360)
 * 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.
 *  [whooami](https://wordpress.org/support/users/whooami/)
 * (@whooami)
 * [17 years, 10 months ago](https://wordpress.org/support/topic/bad-problem-with-wp_configphp-when-upgrading/#post-826362)
 * > 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](https://wordpress.org/support/users/reptilegrrl/)
 * (@reptilegrrl)
 * [17 years, 10 months ago](https://wordpress.org/support/topic/bad-problem-with-wp_configphp-when-upgrading/#post-826364)
 * 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.
 *  [whooami](https://wordpress.org/support/users/whooami/)
 * (@whooami)
 * [17 years, 10 months ago](https://wordpress.org/support/topic/bad-problem-with-wp_configphp-when-upgrading/#post-826365)
 * 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](https://wordpress.org/support/users/reptilegrrl/)
 * (@reptilegrrl)
 * [17 years, 10 months ago](https://wordpress.org/support/topic/bad-problem-with-wp_configphp-when-upgrading/#post-826371)
 * 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.

## Tags

 * [upgrade](https://wordpress.org/support/topic-tag/upgrade/)
 * [wp_config.php](https://wordpress.org/support/topic-tag/wp_config-php/)

 * In: [Installing WordPress](https://wordpress.org/support/forum/installation/)
 * 6 replies
 * 3 participants
 * Last reply from: [reptilegrrl](https://wordpress.org/support/users/reptilegrrl/)
 * Last activity: [17 years, 10 months ago](https://wordpress.org/support/topic/bad-problem-with-wp_configphp-when-upgrading/#post-826371)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
