Title: Database Error After wp-config.php Edit
Last modified: August 20, 2016

---

# Database Error After wp-config.php Edit

 *  Resolved [MeaganV](https://wordpress.org/support/users/meaganv/)
 * (@meaganv)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/database-error-after-wp-configphp-edit/)
 * How can I edit my php file? I use FileZilla to upload my files, but when I try
   to edit it in Notepad it’s saved as wp-codex.php.txt…. how can I get it to save
   as a php file? I tried saving it under “all files” but that’s not changed it.
   Is there another program I can or should be using? All I need to do is change
   my server password because I changed it earlier on my hosting site and now I 
   can’t get into my login page. At least this is what I “think” the problem is!

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

 *  [kmessinger](https://wordpress.org/support/users/kmessinger/)
 * (@kmessinger)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/database-error-after-wp-configphp-edit/#post-3346851)
 * You can change the name after the upload. You should be changing config.php not
   wp-codex.php
 *  Thread Starter [MeaganV](https://wordpress.org/support/users/meaganv/)
 * (@meaganv)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/database-error-after-wp-configphp-edit/#post-3346890)
 * Oh I’m sorry… that’s what I meant. wp-config.php.
 * Anyway, I got it fixed. My host support went in and fixed the password for me
   in the file, and now all is working well.
 * Thanks for your response! I really appreciate it!

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

The topic ‘Database Error After wp-config.php Edit’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 2 participants
 * Last reply from: [MeaganV](https://wordpress.org/support/users/meaganv/)
 * Last activity: [13 years, 5 months ago](https://wordpress.org/support/topic/database-error-after-wp-configphp-edit/#post-3346890)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
