Mysql opens query log record execution statement and phpmyadmin interface display

  1. 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

  1. Restart to view G:\\query.log

  1. Check phpMyAdmin, check the database situation (do it yourself)

Guess you like

Origin blog.csdn.net/weixin_36667844/article/details/128935327