1.1.查看是否开启binlog日志
show variables like '%log_bin%';
1.2.查看超时时间配置
show variables like '%timeout%';
1.3.查看mysql版本
select version();