• I’m trying to access wp-admin but it returns me this message “Error establishing a database connection”, I do not know why, but the same happens when I want to access wp-admin from all the webs I’ve created lately, and it returns the same error when I want to visit the Web (without writing wp-admin).

Viewing 8 replies - 1 through 8 (of 8 total)
  • Moderator t-p

    (@t-p)

    – “Error establishing a database connection” means that there is a problem with the connection to your database
    – a problem with the credentials stored in the wp-config.php file not matching what mysql expects.
    – Try reviewing the following codex for some guidance: http://codex.wordpress.org/Common_WordPress_Errors#Error_Establishing_Database_Connection

    Thread Starter alberto006

    (@alberto006)

    I have not yet made any changes to wp-config.php, but I realized that I now try to access the webs I mentioned, and the page now goes blank, and it does not even give me the error message, you who believe about it ? Is it due to the same database problem or worse?

    Moderator t-p

    (@t-p)

    I now try to access the webs I mentioned, and the page now goes blank, and it does not even give me the error message

    Blank white page: A blank page means that PHP is crashing, typically due to a function conflict introduced by a plugin or theme. This problem can be caused by a variety of issues, including:
    (1) Bad theme
    (2) Bad plugin
    (3) Bad install/upgrade
    (4) you exhausted the memory limit
    (5) It could also mean that there is an issue with your web hosting server.
    – 1 and 2 are more common.
    – Since the problem can be caused by any number of things, check the error logs on your server for a more specific error message. If you need help locating them, ask your hosting provider to help you with that.
    – If you cannot find error logs or if you don’t find any helpful info in them, try adding the following code to your wp-config.php directly above /* That’s all, stop editing! Happy blogging. */ : define( ‘WP_DEBUG’, true);
    – Try reviewing this useful Codex: http://codex.wordpress.org/Common_WordPress_Errors#The_White_Screen_of_Death

    • This reply was modified 9 years, 1 month ago by t-p.
    Thread Starter alberto006

    (@alberto006)

    Thank you for your time and help.

    Hello there

    i got this message when i trying to setup wordpress-4.7.2 to my website
    i sure about all data entred as database name & username and the password all are correct and also i cant find in my file manage the file coled wp-config.php
    what i have is wp-config-sample.php

    the website is alsaiarat.com

    would you help me
    why there is no wp-cofig.php file ater extracting the file zip

    why im alwayes have that message
    Error establishing a database connection

    Thank you and best regards

    Moderator t-p

    (@t-p)

    Side note to @mghazi please do not jump into other topics and cross post that way.

    If the troubleshooting already posted made no difference for you, then, as per the Forum Welcome, please post your own topic. That way you stand a good chance of getting the assistance you want.

    Same issue here, my host says one or more core files needs to be reset.
    Is this a lovely feature of wordpress to insure that I get “hands on” with my site?
    It was up and running- no problems! Help please.
    Wayne
    bagpiperofbaltimore.com

    Moderator t-p

    (@t-p)

    Side note to @@bagpiper5 please do not jump into other topics.

    If the troubleshooting already posted made no difference for you, then, as per the Forum Welcome, please post your own topic. That way you stand a good chance of getting the assistance you want.

Viewing 8 replies - 1 through 8 (of 8 total)

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