Title: Changed cPanel password, WordPress cannot access database&#8230;
Last modified: August 22, 2016

---

# Changed cPanel password, WordPress cannot access database…

 *  Resolved [Abhimanyu](https://wordpress.org/support/users/princeeternity/)
 * (@princeeternity)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/changed-cpanel-password-wordpress-cannot-access-database/)
 * I changed my cPanel password which changes its MySQL and FTP passwords too. Now
   my website is giving errors.
 * Error establishing a database connection
 * It must be trying with the old password. Please advise what to do.
 * Thanks

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

 *  [Viktor Nagornyy](https://wordpress.org/support/users/viktorix/)
 * (@viktorix)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/changed-cpanel-password-wordpress-cannot-access-database/#post-5687809)
 * Open `wp-config.php` and change database password to the new password.
 *  Thread Starter [Abhimanyu](https://wordpress.org/support/users/princeeternity/)
 * (@princeeternity)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/changed-cpanel-password-wordpress-cannot-access-database/#post-5687812)
 * Thanks

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

The topic ‘Changed cPanel password, WordPress cannot access database…’ is closed
to new replies.

## Tags

 * [connection problem](https://wordpress.org/support/topic-tag/connection-problem/)
 * [database](https://wordpress.org/support/topic-tag/database/)
 * [ftp](https://wordpress.org/support/topic-tag/ftp/)
 * [MySQL](https://wordpress.org/support/topic-tag/mysql/)
 * [server](https://wordpress.org/support/topic-tag/server/)
 * [website broken](https://wordpress.org/support/topic-tag/website-broken/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 2 participants
 * Last reply from: [Abhimanyu](https://wordpress.org/support/users/princeeternity/)
 * Last activity: [11 years, 4 months ago](https://wordpress.org/support/topic/changed-cpanel-password-wordpress-cannot-access-database/#post-5687812)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
