Configuration file for changing the database password after Discuz migration

Source: Internet
Author: User
The website system needs to be modified in two locations: Discuz and UC-center ① path:/wwwroot/config/config_global.php, depending on the path where your website is installed. Open the config_global.php file and modify: $ _ config [db] [1] [dbpw] the original password. the original password is changed to the new database password. ② Path:/www

The website system must be modified in two locations: Discuz and UC-center.

① Path:/wwwroot/config/config_global.php, depending on the path of your website installation.

Open the config_global.php file and modify: $ _ config ['DB'] ['1'] ['dbpw '] = 'old password ';

The original password is changed to the new database password.

② Path:/wwwroot/uc_server/data/config. inc. php

Open the config. inc. php file and modify: define ('UC _ DBPW ', 'old password'). The original password is changed to the new database password.

③ Path:/wwwroot/config/config_ucenter.php

To open the config_ucenter.php file, you also need to modify: define ('UC _ DBPW ', 'old password ');

The original password is changed to the new database password. Without modification, users, including administrators, cannot log on. this is the user logon management password.

The entire forum has resumed normal access.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.