Home  >  Article  >  Backend Development  >  Disuz Forum Download DISCUZ Forum Administrator’s Solution to Forgot Password

Disuz Forum Download DISCUZ Forum Administrator’s Solution to Forgot Password

WBOY
WBOYOriginal
2016-07-29 08:39:491171browse

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.

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn