centos 安装mysql时错误unknown variable 'defaults-file=/opt/redmine-2.6.0-2/mysql/my.cnf'

找到my.cnf所在目录。运行 chmod 664 my.cnf,再启动mysql成功
原文地址:https://www.cnblogs.com/jhcelue/p/7190671.html