Home >Backend Development >PHP Tutorial >Easily repair Discuz! database_PHP tutorial
Then using the method below, it is possible to repair the database easily. Your site address admincp.php Access the system backend = System Tools = Database = Database Verification. After clicking "Database Verification" we can see that the system will verify your database according to the standard database. If missing fields or table verification are found The verification is completed and displayed.
Picture 1
Picture 2
If the database is damaged and you cannot enter the backend, you should not be discouraged or give up at this time. You can use Discuz! Tools, a multi-functional tool specially developed by the official, which has a function of "checking or repairing the database". This feature helps us check and repair corrupted databases.
Figure 3
Please note when using this function: Because the database read-write relationship may sometimes need to be repaired several times before it is completely repaired successfully, please wait patiently for the repair result after clicking! The result of checking the database after repair is as shown in the figure below. If the number of errors is 0, it means that the database is intact and does not need to be repaired.
Picture 4