WordPress Database Error: Can’t Connect to Database

March 25th, 2010 · 1:16 pm @ Amber  -  No Comments

Get a big ugly message "Can't Connect to Database" (?)

Did you change your database password (or database username, database name?)

Probably, huh?

You need to update your wp_config.php file with the new password. Find the code that looks something like this: Make sure they are up to date.

define('DB_NAME', 'XXX');    // The name of the database
define('DB_USER', 'XXX');     // Your MySQL username
define('DB_PASSWORD', 'XXX'); // ...and password

Still having problems? Leave a comment.

Tags: , , , , , , , , ,

  • Spread the Love | float & share

What do you think? (leave a reply)