WordPress.org

Support

Support » Installation » [Resolved] how do you change log in id from local host in my database?

[Resolved] how do you change log in id from local host in my database?

  • 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.

Viewing 8 replies - 1 through 8 (of 8 total)
  • You can reset your password different ways http://codex.wordpress.org/Resetting_Your_Password

    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]

    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?

    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.

    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]

    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.

    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!

    You are welcome

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘[Resolved] how do you change log in id from local host in my database?’ is closed to new replies.