Solve the problem of "UCenter info: Can not connect to MySQL server" in Discuz program

888u

Last update at :2024-06-23,Edit by888u

Although the Discuz community program has not had any special highlights since it was acquired, since there are no other better similar programs to choose from, and the Discuz program still has its advantages, many netizens prefer Discuz when building community programs. Snail has never used this program before. This time a netizen needed to migrate the program, so he helped to solve it. And after migrating website files, importing databases, and modifying database link files, an error message "UCenter info: Can not connect to MySQL server" appears when clicking the background UCenter menu.

Judging from the error report, it should be caused by the database link file not being modified.

uc_server/data/config.inc.php

Because Snail is not very familiar with the DZ program (it has never been used at all), after migrating the data, I thought that I only need to modify a few database link files in the config folder. In fact, there is another location above that needs to be modified. .

Here the database information is modified and then replaced. After completion, refresh the cache and see if ucenter can be accessed in the background.

It seems this problem has been solved.

PS: Discuz can meet the needs of most user community websites, and over the years, it has a lot of solution documents, and you can basically find them if you encounter any problems.

Recommended site searches: renting high-defense IP, website registration number query, mainland China domain name, mainland China station group server, foreign free asp space, registration network, virtual host space, Japanese server free domain name registration information query, high-defense server Rent,

Solve the problem of

All copyrights belong to 888u unless special state
取消
微信二维码
微信二维码
支付宝二维码