Still can't enable the slow query log – CentOS
Environment This is my environment: System: CentOS 7 virtual machine, created by virtualbox, only mysql installed MySQL: 5.7.35 Setup MySQL by this chinese toturial: link my.cnf: [mysqld] # slow query log slow_query_log=on slow_query_log_file=/var/log/mysql/slow_query.log long_query_time=1 # UTF-8 collation-server=utf8_general_ci init-connect='SET NAMES utf8'…