分别执行开启日志以及日志路径和日志文件名 SET GLOBAL general_log_file = '/var/lib/mysql/localhost.log';SET GLOBAL general_log = 'ON'; --------------------------------------------------------- SHOW VARIABLES LIKE "log_output%"; 默认值是‘FILE‘,如果是NONE,需要设置 SET GLOBAL log…
[环境介绍] 系统环境:Red Hat Enterprise Linux 7 + 5.7.25-enterprise-commercial-advanced-log MySQL Enterprise Server - Advanced Edition (Commercial) [情况描述] 在安装完数据库之后,查看日志出现多个Warning信息: 2019-04-26T17:28:33.605994+08:00 0 [Note] Server socket created on IP: '::…