Not Solved Recovering My Password
#1
Not Solved
A little while ago, my computer suffered a major issue, and it turns out I didn't have my passwords backed up like I thought I did. Email recovery hasn't worked on my site for years, and I never figured out how to fix it. Is there another way to access or change my password? I think I can get into my file manager on my host's side.

I haven't been using my site for years, but with the incoming PHP update, I need to update it again or just wipe the slate clean.
Reply
#2
Not Solved
Assuming you have access to your database, try "Password Change" on this page:

https://docs.mybb.com/1.8/faq/login-problems/
Reply
#3
Not Solved
Thanks. The instructions say to enter the user ID. Would that be my username or a number?
Reply
#4
Not Solved
Can you access your database? Then in database you may see the user id ( if you are the main admin and 1st user of your site then the usid must be "1" ) as well hashed password, you can change your password there directly

Also you can follow this

https://community.mybb.com/thread-188364...pid1205238

This will set your password as test , then by logging in you can reset your password later.
Reply
#5
Not Solved
I thought it was a number, but I wasn't sure. I know it isn't 1 in my case, as I wasn't the first user to join. The founder retired and gave me the data. I was still able to look up my number. I'm glad I didn't rely on my memory; I was off by one.
Thanks for the link. I'll try it out when I have more time and sort some other stuff out first.
Reply
#6
Not Solved
I was able to get back into my dashboard on my host's side of things, and gained access to my file manager. However, I'm not sure where I'm supposed to go next. I'm not too savvy when it comes to coding. I don't know if I need to enter the command in an existing file or a new one. I wasn't the one who set this website up in the first place, and I've lost my notes. My ability to remember things I don't do regularly isn't very good, and I need to double-check the steps before every update I make.

UPDATE mybb_users SET password = '098f6bcd4621d373cade4e832627b4f6', salt = '' WHERE uid = '1';

If I'm understanding this correctly, I should copy and paste that code somewhere and replace 098f6bcd4621d373cade4e832627b4f6 with my new password. Then replace the 1 at the end with my user ID.
Reply
#7
Not Solved
Those are mysql commands so look at your webhost's documentation on how to get a mysql.  Searching for something like: phpmyamin site:yourhost.com will probably turn up an explanation.  Its likely that you will have a link to phpadmin or something with a name like "database management" in your admin panel.  You will probably be asked for your database username and password.  You can find that information in your inc/config.php file near the top.

The password you enter will be the MD5 hash of your new password.  You can use the MD5() function built-in to mySQL for that as shown in the first link, or you can use the already-hashed "test" string as shown in the second link.
Reply
#8
Not Solved
Okay, I found phpMyAdmin on my host's dashboard. From there, I found an SQL tab (see picture). However, I can't find an inc/config.php file. I don't know if I'm in the wrong area.


Attached Files Thumbnail(s)
   
Reply
#9
Not Solved
inc/config.php is a file in the file system.  It's just a handy place to find things like your database location, username and password if you didn't already know them.  If you know these things, then you don't need config.php.
Reply
#10
Not Solved
(2026-11-02, 03:44 AM)Negima Wrote: Okay, I found phpMyAdmin on my host's dashboard. From there, I found an SQL tab (see picture). However, I can't find an inc/config.php file. I don't know if I'm in the wrong area.

Run there this

UPDATE mybb_users SET password = '098f6bcd4621d373cade4e832627b4f6', salt = '' WHERE uid = '1';
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)