mariadb13.3.25 配置文件失效(折腾了很久),当时我需要配置主从,发现binlog无法打开,配置了bin-log项还是不行!
当my.cnf 文件权限过大时,配置文件无效,我当时给的权限 +x
使用:service mysql status
Warning: World-writable config file '/etc/mysql/my.cnf' is ignored
最后修改权限为 644
mariadb13.3.25 配置文件失效(折腾了很久),当时我需要配置主从,发现binlog无法打开,配置了bin-log项还是不行!
当my.cnf 文件权限过大时,配置文件无效,我当时给的权限 +x
使用:service mysql status
Warning: World-writable config file '/etc/mysql/my.cnf' is ignored
最后修改权限为 644