Support » Fixing WordPress » Locked out of a site on shared hosting – ID the DB?

  • I am locked out of a WordPress site – can’t find username, email or password.

    So I logged into the database via the HostGator cPanel to reset the account manually. But as its shared hosting, I have about 40 databases to choose from.

    Rather than go into each one and view the options table to check the domain, is there a quicker way to see which database a particular WordPress site is using?

    Thanks.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Log into your FTP of the site. Check your wp-config.php file to help you determine which database that specific site is using.

    Cpanel also allows you to edit the wp-config.php file, or you can do that by FTP. It will tell you the name of the datase your blog is using 🙂

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Locked out of a site on shared hosting – ID the DB?’ is closed to new replies.