Support » Plugins and Hacks » Hacks » Error Establishing a Database Connection

  • 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.

Viewing 1 replies (of 1 total)
  • 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.

Viewing 1 replies (of 1 total)
  • The topic ‘Error Establishing a Database Connection’ is closed to new replies.