Home  >  Article  >  Backend Development  >  DISCUZ Forum Administrator Forgot Password Solution_PHP Tutorial

DISCUZ Forum Administrator Forgot Password Solution_PHP Tutorial

WBOY
WBOYOriginal
2016-07-21 15:46:401112browse

What should I do if I forget the DISCUZ forum administrator password?
Today, a friend asked me on QQ, "If you forget the DISCUZ forum administrator password, where can you find it in MYSQL?",
He is using HostMonster's virtual host.
yun~~~,
I have never used DISCUZ, so I have to say, "This is not very clear. You can directly change the records in the database and try.
But I don’t know whether DISCUZ encrypts the password. "
Later he logged into cPanel and used phpMyAdmin to check.
He was dizzy again. There were a bunch of tables and he didn't know which one they were. He looked up "Discuz Table Structure Detailed Explanation" on Google. He guessed it might be this table cdb_members
When I checked the records, I was really confused. The password was encrypted and there were a bunch of 7554eabcc...
What should I do? I got a little inspiration at this time, 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'

www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/320122.htmlTechArticleWhat should I do if I forget the DISCUZ forum administrator password? Today, a friend asked me on QQ, "If you forget the DISCUZ forum administrator password, where can you find it from MYSQL?" He used HostM...
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