Find the mysql configuration file my.ini
Add the following two lines and restart
general-log=1
general_log_file="../query.log"
As shown in the figure, I configured the query.log under the G drive
Restart to view G:\\query.log
Check phpMyAdmin, check the database situation (do it yourself)