Title: Wp-config
Last modified: August 21, 2016

---

# Wp-config

 *  Resolved [SickSquirrel](https://wordpress.org/support/users/sicksquirrel/)
 * (@sicksquirrel)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/wp-config-8/)
 * I needed to edit the user and oass. I did it in the file itself. Anywhere else
   I need to add a new user and pass, like control panel? I want to be sure I did
   it right.

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

 *  [Scriptrunner (Doug Sparling)](https://wordpress.org/support/users/scriptrunner/)
 * (@scriptrunner)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/wp-config-8/#post-4203057)
 * The username and password for what? wp-config.php contains the username and password
   for your database. What ever is in wp-config will have to match your database
   credentials (or at least one of theme, usually it’s best to have a separate database
   login for your web app). If you are indeed updating the username and password
   for your database, you’d update that most likely in cPanel that your web host
   provides. (I’m assuming that, since you mentioned control panel)
 *  Thread Starter [SickSquirrel](https://wordpress.org/support/users/sicksquirrel/)
 * (@sicksquirrel)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/wp-config-8/#post-4203062)
 * Thanks. They use their own, not cPanel. I think I got it … Db needs to be changed
   in my cp if changed in wp-config, thank you!. Last week I was hacked with the
   Zend Framework or something like that. That hack is back but I can’t figure out
   how they are getting to it.

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

The topic ‘Wp-config’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 2 participants
 * Last reply from: [SickSquirrel](https://wordpress.org/support/users/sicksquirrel/)
 * Last activity: [12 years, 7 months ago](https://wordpress.org/support/topic/wp-config-8/#post-4203062)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
