WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] how do you change log in id from local host in my database? (9 posts)

  1. digorange
    Member
    Posted 3 years ago #

    Hello -
    I downloaded WP and got it all working for the last 5 days, now I can not log in and it will not email me new PW? I hear you can check it or change it locally on your files .. where and which one. There is one called login but no info on it re: my password just stuff like hidden code? Also one called pass but it is not there either?

    Thanks if you can help out.

  2. govpatel
    Member
    Posted 3 years ago #

    You can reset your password different ways http://codex.wordpress.org/Resetting_Your_Password

  3. w3whizz
    Member
    Posted 3 years ago #

    Hey you sould go to your database and there you will foung Wp-users =from there you can chang your id.
    [sig moderated as per the Forum Rules]

  4. digorange
    Member
    Posted 3 years ago #

    thank you for your replies.... I dont see a wp-users... there is a users in the WP-admin folder?? but I do not see a place that the id shows up in it anywhere?

  5. govpatel
    Member
    Posted 3 years ago #

    there is a users in the WP-admin folder?? but I do not see a place that the id shows up in it anywhere?

    If you look the link I posted above you will a way to reset your password.

  6. digorange
    Member
    Posted 3 years ago #

    ok I tried some of the above... seems like this. I can get to the folder users but I do not know what to do in there as there is all code and I do not see anywhere an actual login name or id.?? What in this file do i have to change?

    [Code moderated as per the Forum Rules. Please use the pastebin]

  7. govpatel
    Member
    Posted 3 years ago #

    You are not suppose to go in any core file

    There is also an easy way to reset your password via FTP, if you're using the admin user.

    1. Login to your site via FTP and download your active theme's functions.php file.

    2. Edit the file and add this code to it, right at the beginning, after the first <?php:

    wp_set_password('password',1);

    Put in your own new password for the main admin user. The "1" is the user ID number in the wp_users table.

    3. Upload the modified file back to your site.

    4. After you then are able to login, make sure to go back and remove that code. It will reset your password on every page load until you do.

  8. digorange
    Member
    Posted 3 years ago #

    OMG! This Freaking worked... i somehow got into the Mamp menu to the phpmyAdmin and Through phpMyAdmin I was able to change the pass via the info on this page... http://codex.wordpress.org/Resetting_Your_Password

    You all freakin rock!!!

    Awesome!

    Bitchen...

    I am going to get tacos and margarittas and celebrating... wish i could buy you one!

  9. govpatel
    Member
    Posted 3 years ago #

    You are welcome

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.