The reason why discuz cannot be opened and the solution: 1. The table content of the mysql database is too large, which can be solved through the sub-database method; 2. The database configuration is wrong, resulting in incorrect filling of the database information, or the old database If the information is not updated in time, you can repair the relevant database information; 3. The database is not running. Check whether the host's mysql database program is running or has been closed. If it is a virtual host, you can contact the space provider to open it. If the virtual host does not Supports mysql database, which can be solved by replacing the host.
Operating system for this tutorial: Windows 10 system, discuz X3.4, Dell G3 computer.
Discuz cannot be opened and the solution is as follows:
1. The table content of the mysql database is too large, exceeding 10G may affect the operation of the discuz forum
can be solved through the method of sub-database.
2. Database configuration error. Sometimes the host may be moved, the database may be moved, etc., resulting in incorrect filling of the database information, or the old database information may not be updated in time, such as the database user name. , password, database table filling error.
You can repair related database information. You can find the config directory in the config directory and modify the database information configuration file. Discuss! 3There are three reference profiles. Double check that the database configuration and other configurations are up to date. Installation directory/config/config_global.phpInstallation directory/config/config_ucenter.phpInstallation directory/uc_server/data/config.inc.php.
3. The database is not running
Check whether the mysql database program of the host is running or has been closed. If it is a web host, you can contact the space provider to turn it on. If the virtual host does not support mysql database, you can solve this problem by replacing the host or space provider.
The above is the detailed content of How to solve discuz cannot be opened. For more information, please follow other related articles on the PHP Chinese website!