Error Establishing Database Connection


Is there anyway someone can help with the notice: Error Establishing A Database Connection?

Best Regards!
David R

  • Timothy Bowers

    Hey there,

    I hope you're well! :slight_smile:

    Often this occurs when any of the following are applicable:

    - Database offline.
    - Database credentials are incorrect - Most common reason.
    - Firewall or similar is somehow blocking connection.

    Did you create the database in cPanel?

    Did you also assign a user to the database, and are all the credentials correct within your wp-config.php file?

    You could consult with your host on this one, they should be able to see your setup and advice quickly.

    Let me know how you get in.

    Take care.

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.