Simple Machines Community Forum

SMF Support => SMF 2.0.x Support => Topic started by: jack001 on January 14, 2018, 09:51:23 AM

Title: forgot password of admin of smf 2.0.15
Post by: jack001 on January 14, 2018, 09:51:23 AM
How to recover as admin password as email recovery not working. not sure why. kindly help.
Title: Re: forgot password of admin of smf 2.0.15
Post by: Arantor on January 14, 2018, 09:54:24 AM
Do you have phpMyAdmin access?
Title: Re: forgot password of admin of smf 2.0.15
Post by: jack001 on January 14, 2018, 09:58:11 AM
yes i have
Title: Re: forgot password of admin of smf 2.0.15
Post by: Arantor on January 14, 2018, 10:06:15 AM
Go into phpMyAdmin, go to the smf_members table, find the row for your account.

Edit that row in the following ways:
1. replace the passwd column with your new password
2. find the password_salt column and remove whatever value that column has for your row

If you then log in with the new password, it will tell you that 'password security has been upgraded' (i.e. it has taken the plain text password and converted it to the numbers/letters SMF uses) and you will have to log in a second time with the upgraded security version, but it'll let you in.
Title: Re: forgot password of admin of smf 2.0.15
Post by: jack001 on January 14, 2018, 10:14:22 AM
where is smf members table? i am sorry i cant find it.
Title: Re: forgot password of admin of smf 2.0.15
Post by: jack001 on January 14, 2018, 10:21:55 AM
ok. found. deleted pass. i tried logging in. It said 'Password security has recently been upgraded. Please enter your password again.'
now what should be my password?
Title: Re: forgot password of admin of smf 2.0.15
Post by: Arantor on January 14, 2018, 10:23:42 AM
Well, you were supposed to put a new one into the database right there! That was literally instruction number 1: put a new password in place of your old one.
Title: Re: forgot password of admin of smf 2.0.15
Post by: jack001 on January 14, 2018, 10:26:01 AM
ok thanks. i made an account. Made group id 1 (admin) and solved it.

Thanks for help
Title: Re: forgot password of admin of smf 2.0.15
Post by: jack001 on January 14, 2018, 10:26:40 AM
Quote from: Arantor on January 14, 2018, 10:23:42 AM
Well, you were supposed to put a new one into the database right there! That was literally instruction number 1: put a new password in place of your old one.
also recovered admin account thanks! you rock dude! :)