• Hi All Experts
    I have a big problem here.
    I m unable to open my site , site give me an error like that “Error establishing a database connection”

    When i receive that error 1st i contact to my hosting providers for checking config.php file.
    Hosting expert reply me config.php file is 100% OK , this is not finish i check config.php my self , this is fine .
    How can i fix this , i m also unable to access my wordpres admin ..
    Can someone help me ..
    thanks
    Regards
    Waiting

Viewing 12 replies - 1 through 12 (of 12 total)
  • This is something you need to work on with your hosts. There isn’t a lot we can do to help here other than to suggest that you re-check your wp-config.php file.

    Are you sure that your database is intact?

    Thread Starter adnanasif

    (@adnanasif)

    Hi
    thanks esmi and Vishnu
    Hosting experts give me a demo database file link to check.
    I check it and its massage “connected”
    Also he said to me if you install any new plugin in your wordpress then maybe conflict to database..
    But i don`t know about conflicting..
    I check again wp-config.php ..
    thanks

    I’ve never come across a plugin that could prevent you from connecting to your database but try resetting the plugins folder by FTP or PhpMyAdmin.

    Thread Starter adnanasif

    (@adnanasif)

    Thanks esmi
    i will check your given link and follow.
    thanks

    Thread Starter adnanasif

    (@adnanasif)

    Hi esmi
    I done your given details but same error massage..
    In your words , now i deactivate all my plugins but same error.
    Any other thing you have in mind Please share with me..
    thanks
    Waiting

    Well, I’m not surprised that it wasn’t a plugin. I did think the suggestion was a little far-fetched. Is your site’s database using the same database host name as the test database?

    Thread Starter adnanasif

    (@adnanasif)

    Hi esmi
    thanks for your all help
    I think now i got problem..
    My db name , db user and db pass i checked in my config file its alright..
    But now when i connect my database for phpMyAdmin , its need password ..
    when i enter that pass its not work, now i change it to so simple for testing now its also accepted..
    Sorry
    But Now what`s problem and how to fix this..
    Little more help needed.
    thanks
    waiting

    If you can now connect to your database, what’s the problem?

    Thread Starter adnanasif

    (@adnanasif)

    Hi..esmi
    Sorry to say..

    “when i enter that pass its not work, now i change it to so simple for testing now its also not accepted..”

    How can i fix this..
    thanks
    Waiting

    Hi adnan,

    i have same problem last time, it is makes me so confuse until i found this Link from youtube and my problem has been solve.

    you can try it

    Here is step by step guide to fix this error:
    Error establishing a database connection – WordPress

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘Error establishing a database connection’ is closed to new replies.