WordPress.org

Ready to get started?Download WordPress

Forums

Reset password and now getting Error establishing a database connection (2 posts)

  1. Jebaroo
    Member
    Posted 2 years ago #

    Hi all,

    I just reset the password on MySQL for an old wordpress site I used to have and now the database won't connect so I get a crappy error when the site opens stating "Error establishing a database connection". Where do I need to go in my WordPress files to change the password. It has been a while and I am trying to re-learn all this stuff.

    Thanks in advance

  2. converting2wp
    Member
    Posted 2 years ago #

    The databases connection information is normally stored in wp-config.php.

    See http://codex.wordpress.org/Editing_wp-config.php

    The line you're looking for has the format

    define('DB_PASSWORD', 'yourpasswordhere');

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.