• I reset my password in MySQL Database. After the reset, I couldn’t log in to my blog anymore. It says, Error establishing database connection.” By the way, I have a special login url set in the AIOWPS plugin. I couldn’t be wrong with my special login slug because I have bookmarked it, plus I also have a copy of it in my password manager app. I tried deleting browser cache and cookies, also tried another browser, but still failed to login.

    Please help!

Viewing 6 replies - 1 through 6 (of 6 total)
  • Did you update your wp-config.php file with the new password too?

    Thread Starter beth11

    (@beth11)

    No. Could you tell me how to update it, step by step please. Be patient with me because I’m not that techie and this is my first time to have an issue with my blog

    You can edit your wp-config.php via your hosts control panel.
    Locate file manager and click it
    select the desired domain name (if you have more than one hosted)

    if you see the folders bellow then you are in the right folder:

    wp-content
    wp-includes
    wp-admin

    if not check if you see a public_html folder and double click it

    locate the wp-config.php and right click on it,click edit and wait till the file open

    find
    define(‘DB_PASSWORD’, ‘YOUR OLD PASSWORD WILL BE HERE’); and alter it to be
    define(‘DB_PASSWORD’, ‘WRITE YOUR NEW PASSWORD’);
    save the file and try to open your website.

    if you are unsure or you cant follow the directions contact your host and ask them to do it for you.

    I have set up a new Sub Domain and am unable to connect to the database – I have checked and checked that all the user, host and password etc details are correct – the only thing different is that my new database is MySql 5.5 – is this causing the issue – all MysQL 5.1 sites are working fine

    Thread Starter beth11

    (@beth11)

    Oh… my blog is up and running now. I changed the db password in wp-config.php. Thanks chickchick for the reply

    Thread Starter beth11

    (@beth11)

    Thanks garychild1953 & eboxnet for your time.

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