Error Establishing a Database Connection (2 posts)

  1. Mackowiecki Lewis
    Posted 4 years ago #

    My site was recently hacked. My host support had me delete my database and restore a backup using the same name, but now I get the Error Establishing a Database Connection. Support tells me I need to edit my wp-config.php files, but they don't tell me what specifically I'm "editing." Being somewhat of a non-techie, I could use some help. Thanks.

  2. emke
    Posted 4 years ago #

    You need to add db_name, db_user and db_password so WP can connect to your database. If you don't know you db details ask your host.

Topic Closed

This topic has been closed to new replies.

About this Topic