Error establishing a database connection

  • Unknown's avatar

    Hello,

    I was working on my site (content), and suddenly I was disconnected. Now, my website adress (www.zenergies.cool) is down with this message: Error establishing a database connection. And I can’t connect to my wp admin panel as well… What’s going on?
    Thanks
    Aymeric

  • Unknown's avatar

    Hi,

    1.Go to the hosting server, and there go to root/(YOUR-WEBSITE)/(search for the wp-config.php file).
    2.Open file in any text editor.
    3.You can find the database name, password, host name and more.
    4.Try giving the correct credentials and host name.
    5.Restart the website.
    6.Browse for the site.

  • Unknown's avatar

    @agogibus
    This is forum for sites hosted here at WordPress.com. There are 2 versions of WordPress and they are very different. See this document:
    https://en.support.wordpress.com/com-vs-org/

    Your site is not hosted here at WordPress.com and uses the WordPress.org version. For the best help for your site check the support forums at https://wordpress.org/support/

    We want you to get access to the community with the greatest expertise and experience to help you.

    @sabarinathblog

    We do not provide support here for WordPress.org sites. It is a disservice to the users of this forum to provide answers here that apply only to a software not supported here.

    Feel free to chime in on WordPress.com based solutions for WordPress.com sites. Or lend a hand with your expertise with WordPress.org over at WordPress.org/support.

  • Thanks for trying to help, @sabarinathblog . That advice is perfect for a WordPress.org installation. They might also need to reach out to their host.

    And thank you, @houstonweaver.

  • The topic ‘Error establishing a database connection’ is closed to new replies.