MySQL record log query is very useful for tracking MySQL load tuning issues under the PHP+MySQL system. For example, users who have installed many Discuz! plug-ins can roughly find out which plug-ins have code problems. In fact, it is very simple to enable MySQL's slow query log. You only need to add parameters to MYSQL.INI.
log="c:/mysql_query.log"
Restart mysql to record all database operations. In order to facilitate analysis, a simple and fast viewer is provided.
Open the file and set the execution directory and address.
Expand