How to deal with the administrator's password forgotten in discuz

Reported answer
How to deal with the administrator's password forgotten in discuz
Ask online customer service
Scan the code to ask online customer service
  • Number of answers

    six

  • Number of browses

    1,829

6 answers Default sorting
  • Default sorting
  • Sort by time

Adopted
Change the password of UC founder first
Modify UC configuration file/uc_server/data/config.inc.php
Replace the corresponding two lines
define('UC_FOUNDERPW', '636822edaa353665147896b9061edc4b');
define('UC_FOUNDERSALT', 'p5j8K5');
Corresponding password: 123654
http://localhost/discuz/uc_server/ This is the login address of the background ucenter. Enter the password of the ucenteradminstrator. After entering, you can modify the administrator password!
cancel comment
Go to the official website to find a way.
cancel comment
Download the database and directly add or change the administrator's identity in the database
cancel comment
It can be retrieved in two ways,
Download tools from the official website and upload them to the space. Administrators can be set
Through database management, such as phpmyadmin, open the common_member table, change both the adminid and groupid to 1, and then you can log in to the background. If the front desk does not display the entrance, you need to directly access the forum address/admin.php
DZ Power hopes it can help you
cancel comment
Method 1: Modify the password with the help of tools.php
Upload tools. php to/discoz/uc_server in the folder under this path
Method 2:
Change the password of UC founder first
Modify UC configuration file/uc_server/data/config.inc.php
Replace the corresponding two lines
define('UC_FOUNDERPW', '636822edaa353665147896b9061edc4b');
define('UC_FOUNDERSALT', 'p5j8K5');
Corresponding password: 123654
http://localhost/discuz/uc_server/ This is the login address of the background ucenter. Enter the password of the ucenteradminstrator. After entering, you can modify the administrator password!
Method 3: Go directly to the database to change.
Method 4:
define('uc_founderpw', '047099adb883dc19616dae0ef2adc5b6');
define('uc_foundersalt', '311254');
In this way, the password of the founder of ucenter becomes: 123456789
cancel comment
After the administrator logs in, click Settings and fill in the old password, new password and verification code to modify the password
cancel comment
ZOL Q&A > How to deal with the administrator's password forgotten in discuz

report

Thank you for contributing to the harmony of the community. Please select the type of report

Reported successfully

It will be handled after verification
Thank you for your contribution to community harmony

Scan the code to participate in the trial of new products at 0 yuan
You can get the sheets and grand gifts on the top floor

 Scan and pay attention to us
Tips

Are you sure you want to cancel this registration and exit this activity?