mysql 解决Warning: World-writable config file ‘/etc/my.cnf’ is ignored shell如下 chmod 644 /etc/my.cnf 然后执行: service mysqld restart