Locked out of a site on shared hosting - ID the DB? (3 posts)

  1. jf80
    Posted 2 years ago #

    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?


  2. DJDoubleXL189
    Posted 2 years ago #

    Log into your FTP of the site. Check your wp-config.php file to help you determine which database that specific site is using.

  3. Sabinooo
    Posted 2 years ago #

    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 :)

Topic Closed

This topic has been closed to new replies.

About this Topic