Cyber Grapes
 763-CGRAPES  Help  
         
 
​
← Managed Hosting for WordPress Help

Fix Error establishing a database connection in WordPress

Use this Cyber Grapes checklist to fix Error establishing a database connection in WordPress on Managed Hosting for WordPress. Confirm access and recent changes first, then apply the targeted fix before you rewrite DNS or rebuild the site.

  1. Confirm the MySQL service is running in Managed WordPress dashboard and the database still exists.
  2. Open wp-config.php and verify DB_NAME, DB_USER, DB_PASSWORD, and DB_HOST.
  3. Reset the database user password in the hosting panel and update wp-config.php to match.
  4. If the site was recently migrated, import the SQL dump and repair URLs.

Need more help? Call Cyber Grapes 24/7 Sales & Support (domains, email and websites) at 763-CGRAPES (763-247-2737) or visit help.cybergrapes.com.

​