Solution for dreamweaver cms forgotten password: 1. Log in to MySql, find the name of the database corresponding to the website, and click to enter the database; 2. Find the dede_admin table, then find the administrator-related information row and select it; 3 . Restore the password to the initial value through restoration, and change the pwd value to the default "f297a57a5a743894a0e4".
The operating environment of this tutorial: Windows 10 system, DedeCMS version 5.7, Dell G3 computer.
What should I do if I forget my password for DreamWeaver cms?
A solution for DreamWeaver CMS to forget the background administrator password
First of all, to use this method, you must have the execution rights of the database MySql
Log in to MySql
Find the name of the database corresponding to the website, click to enter the database
Find the dede_admin table (#@_ represents the prefix of your database table, which is set when building the website) Click to enter and browse the table Table
Find the administrator-related information row and select it, click the pencil style button in the red box below to modify it
My password here is set to 123456, its md5 generated code is 49ba59abbe56e057, and its generated code in the Dreamweaver system is c3949ba59abbe56e057f, which is the 20-digit generated code of the md5 function. The php statement can be written like this:
<?php echo substr(md5("12354"),5,20); // 从第五位开始共计生成20位 ?>
We can restore it by Method to restore the password to the initial value. The initial password of DreamWeaver is admin, and its encrypted value is f297a57a5a743894a0e4
After entering the editing page in the figure below, change the value of pwd to the default f297a57a5a743894a0e4, and execute the password. Can be modified successfully
#Then the password can be restored
Re-enter the login page of your website, enter your administrator account, and enter the password Admin can re-enter your backend. In the backend's System->System Settings->System User Management, reset the administrator password to a more complex password. Be sure to remember it this time!
Recommended learning: dedecms tutorial
The above is the detailed content of What should I do if I forget my password for Dreamweaver CMS?. For more information, please follow other related articles on the PHP Chinese website!