WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] I'M IN DEEP SH*T!!! PLEASE HELP!!! (8 posts)

  1. URE
    Member
    Posted 4 years ago #

    Guys, I f**ked up good...

    Here is the story:

    I was trying new stuff with my test blog and I pressed "lost your password?" and then "get new password" and now I'm f**cked!!! Why? Because I use Xampp and my blog is only on my PC on localhost! So now massage is sent to my email! Although the email is real, but as you all know, it's kind of hard to receive an email from a PC!!! But wait, that's not all!!! There is more!!! So I started trying to get the password back and I f**cked up even more - I deleted the admin user from my wp-users table in phpmyadmin!!!

    So I really made a mess!!!

    Do you guys have any suggestions??? Please!!!

    Tnx!

  2. equalmark
    Member
    Posted 4 years ago #

    Firstly I would stop using that language if you want to get any help!

    Anyway if you have deleted the admin user then that is not good. Have you any other users on your blog?
    If so you could use phpmyadmin to change the password on them as per instructions here:
    http://codex.wordpress.org/Resetting_Your_Password#Through_phpMyAdmin

  3. URE
    Member
    Posted 4 years ago #

    Sorry about the lang, but I'm having a bad day!!!

    No, I had only one user!!!

    I even tried to make a new wordpress install, but couldn't copy the database...

  4. esmi
    Forum Moderator
    Posted 4 years ago #

    Follow the link above. It does describe how you can change your password in the database.

  5. equalmark
    Member
    Posted 4 years ago #

    Why not create a new blog on your local machine and then copy the fields that it enters into the database for that install, in terms of Users into the old one. Then change the password for it as outline on the link above.

    If you haven't many posts though I would suggest a re-install.

  6. buddha trance
    Member
    Posted 4 years ago #

    I've never tried this, but what about adding the admin user again in the database

    if not there, create table wp_users (or the prefix you are using)
    then "insert"
    ID 1
    user_login admin
    etc. with the other values
    for user_pass see the link above
    just a thought...

  7. URE
    Member
    Posted 4 years ago #

    Thanks guys! I'll try your suggestions! :)

  8. URE
    Member
    Posted 4 years ago #

    Okay, I found a solution!!!

    Here it is!!!
    http://www.dnawebagency.com/how-to-add-an-admin-user-to-the-wordpress-database

    Yeah!!!!

Topic Closed

This topic has been closed to new replies.

About this Topic