Current time: 03-21-2010, 02:40 AM Hello There, Guest! (LoginRegister)


Post Reply 
Unable to recover password of super admin
11-19-2008, 02:14 AM
Post: #1
Unable to recover password of super admin
Been stupid. I used a randomly generated password and forgot what it is.. I tried recovering but when I get the randomly generated password from MyBB it wont work.. saying that Im using the wrong password

how do I recover the password using the DB? Sad
Find all posts by this user
Quote this message in a reply
11-19-2008, 02:19 AM (This post was last modified: 11-19-2008 02:20 AM by seeker.)
Post: #2
RE: Unable to recover password of super admin
1) Use a test forum, fresh install, or any other copy of MyBB.
2) Go into that DB and find the users table.
3) Select a user for which you know the password (yourself)
4) Copy the password and salt into the first user on the forum you are locked out of.

Now you can login Smile

>>> A Fun, Unique Cash Contest Unlike Any Other Ever Seen Before.
#
MyBB is the best forum software! Exclamation
##
Find all posts by this user
Quote this message in a reply
11-19-2008, 03:18 AM
Post: #3
RE: Unable to recover password of super admin
Quote:You may be unlucky enough to forget your admin password and not be able to retrieve it from the Lost Password link. If this is the case, all hope is not lost. In PHPMyAdmin, or some other database manager, run this query:

PHP Code:
UPDATE `mybb_usersSET `password` = '098f6bcd4621d373cade4e832627b4f6', `salt` = '' WHERE `uid` = 'X' 

Change the X to your user ID and make sure your table prefix is correct. This will turn your password to simply 'test'. Now, log in, and change your password... and try and remember it

I take no credit for this Toungue

Source: http://www.learnmybb.com/forums/showthread.php?tid=61
Visit this user's website Find all posts by this user
Quote this message in a reply
11-19-2008, 10:22 AM (This post was last modified: 11-19-2008 10:22 AM by MattRogowski.)
Post: #4
RE: Unable to recover password of super admin
And actually neither do I as I saw Dennis post it first!! Toungue But that's the easiest way IMO, rather than having to create a new user.

My Personal Site - Twitter
MyBB Support Team
[Image: lqscs]
Visit this user's website Find all posts by this user
Quote this message in a reply
11-19-2008, 04:39 PM
Post: #5
RE: Unable to recover password of super admin
It's always great to learn a better way.

>>> A Fun, Unique Cash Contest Unlike Any Other Ever Seen Before.
#
MyBB is the best forum software! Exclamation
##
Find all posts by this user
Quote this message in a reply
11-20-2008, 09:58 AM (This post was last modified: 11-20-2008 10:34 AM by kjaonline.)
Post: #6
RE: Unable to recover password of super admin
thanks for this guys Smile
Damn this still doesnt work..
well as an admin I changed my username to something else.. does that affect anything?
Find all posts by this user
Quote this message in a reply
02-12-2010, 03:51 AM
Post: #7
RE: Unable to recover password of super admin
(11-19-2008 03:18 AM)Stephon Wrote:  
Quote:You may be unlucky enough to forget your admin password and not be able to retrieve it from the Lost Password link. If this is the case, all hope is not lost. In PHPMyAdmin, or some other database manager, run this query:

PHP Code:
UPDATE `mybb_usersSET `password` = '098f6bcd4621d373cade4e832627b4f6', `salt` = '' WHERE `uid` = 'X' 

Change the X to your user ID and make sure your table prefix is correct. This will turn your password to simply 'test'. Now, log in, and change your password... and try and remember it

I take no credit for this Toungue

Source: http://www.learnmybb.com/forums/showthread.php?tid=61



Thank you soooo much. I will try it and see what happens.
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump: