WordPress.org

Ready to get started?Download WordPress

Forums

ReInstall trouble after site was hacked (4 posts)

  1. jslade
    Member
    Posted 2 years ago #

    Hello,I'm new to WordPress and have only created a few basic sites. One of my wordpress sites has been hacked as it was in the construction stage. Now I'm locked out of the dashboard. I can't reset the password via email or phpadmin panel I even tried the emergency.php script and can't get in.
    I decided to ditch all the files on the server and start again with a new database with the aim to rebuild the site.
    Does anyone know if you can reinstall wordpress if you were already installed with the same web address?
    I've tried the install with the new database and I get the message "Can't Select Database. We were able to connect to the database server (which means your username and password is okay) but not able to select the database"
    I have check it exists and that the user is added to it.
    Is this just my database setup error or is it because I once had a site already installed?
    Thanks.

  2. esmi
    Forum Moderator
    Posted 2 years ago #

    I can't reset the password via email or phpadmin panel

    Why?

    I get the message "Can't Select Database

    Check your database details. This has nothing to do with your previous install.

  3. jslade
    Member
    Posted 2 years ago #

    Ok Thanks Esmi, I will check them again.

  4. RichardWPG
    Member
    Posted 2 years ago #

Topic Closed

This topic has been closed to new replies.

About this Topic