1. 问题描述: 重启mysql服务时出现以下信息: Warning: World-writable config file '/etc/my.cnf' is ignored 出现这种情况的原因是:mysql故意不让用户重写my.cnf,权限默认是644, 即-rw-r--r--, 如果权限不是644, 则会出现这种情况. 2. 解决方法: (1) 查看my.cnf文件的权限:git@github.com:DJISZ/marketevent.git ls -l /etc/my.cnf 信息如下:…