Error Establishing a Database Connection in WordPress
“To Fix “”Error Establishing a Database Connection in WordPress””:
Open wp-config.php file and double check the value of below constants.
define('DB_NAME', 'your_database_name'); define('DB_USER', 'your_database_username'); define('DB_PASSWORD', 'your_database_password'); define('DB_HOST', 'localhost'); // sometimes it can be anything else like IP address
“
Leave a Reply