your Discuz site database migration, or modified password, but also the following related configuration file modification to not appear 1045 error
Take Windows system as an example: First login Remote Desktop, enter CMD in Run, single open command mode, and then enter net stop MySQL//stop MySQL Service
Site system needs to be modified in two places Discuz and Uc-center: 1, Path:/site root directory/config/config_global.php This depends on the path of your site installation. Open config_global.php File modification: $_config[' db ' [' 1 '] [' dbpw '] = ' original password '; Modify the original password to the new database password. 2. Path:/website root directory/config/config_ucenter.php Open config_ucenter.php file also to modify: Define (' UC_DBPW ', ' original password '); Modify the original password to the new database password. In this non-modified case, the user includes the administrator can not log on, this is the user login admin password.
3. Path:/website root directory/uc_server/data/config.inc.php Open config.inc.php File modification: Define (' UC_DBPW ', ' original password '); Modify the original password to the new database password.
Restart MySQL service, input net start MySQL in cmd mode, otherwise 2003 error will occur
The entire forum is back to normal access here.
|
|
Discuz Site Database Migration