Support » Localhost Installs » Error establishing a database connection

  • Resolved Andr3wH1cks

    (@andr3wh1cks)


    I have had WordPress downloaded and running fine on my localhost/**/wp-admin fine and then I restarted my computer and I am getting the “Error establishing a database connection”. I have gone over the wp-cinfig.php and made sure that all of the database information is correct. (I believe so at least.)

    define(‘DB_NAME’, ‘wordpress’);

    define(‘DB_USER’, ‘root’);

    define(‘DB_PASSWORD’, ‘xxx’);

    define(‘DB_HOST’, ‘localhost’);

    I do not know what else to try. If anyone can help me, that would be greatly appreciated. Thanks.

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