Error Establishing A Database Connection

IT Support Forum Forums Website Development CMS WordPress Troubleshooting Error Establishing A Database Connection


This topic contains 0 replies, has 1 voice, and was last updated by  Webmaster 4 years, 12 months ago.

  • Author
  • #75


    You may get the following error on your WordPress website:

    Error establishing a database connection

    The error refering to establishing a database connection means that your web server cannot connect to the database. Either you have put the wrong settings in the wp-config.php file, the network between the web server and the database server is down, has DNS issues or is firewalled or the database server is down.

    To troubleshoot the error establishing a database connection:

    1. Check that you can open a connection to the database using myPHP in the control panel.
    2. Get the username and password for the WordPress database (make note of the database name)
    3. Edit the wp-config.php file and enter the correct database name, username and password to access the database

    If you still get Error establishing a database connection, then you need to contact your host for support.

    • This topic was modified 4 years, 12 months ago by  Webmaster.

You must be logged in to reply to this topic.