What should I do if I forget the DISCUZ forum administrator password?
Today, a friend asked me on QQ, "If I forget the DISCUZ forum administrator password, where can I find it from MYSQL?",
He is using HostMonster's virtual host.
yun~~~,
I have never used DISCUZ, so I had to say, "This is not very clear. You can directly change the database records and try,
But I don't know whether DISCUZ encrypts the password."
Later he logged in to cPanel , use phpMyAdmin to go in and check,
I'm confused again, I don't know which table it is, I found "Discuz table structure detailed explanation" on Google, I guess it may be this table cdb_members
I checked the records, I was really confused, the password is encrypted, A bunch of 7554eabcc...,
What should I do? At this time, I got a little inspiration, so I told him, "If you are like this, you can register another ID, and then use the password of that ID to update the admin password."
Haha, good, the problem is solved,
This is recorded.
More detailed instructions:
Just change it in phpmyadmin. Change the password field content in the cdb_members table to the new password. Don't forget to use the md5() function. Or actually execute the sql statement: update cdb_members set password=md5('lianshuyun') where username='admin'
The above introduces the solution to the problem of forgetting the password of the DISCUZ forum administrator when downloading the discuz forum, including the content of the download of the discuz forum. I hope it will be helpful to friends who are interested in PHP tutorials.