ITPub博客

首页 > 数据库 > MySQL > Warning: World-writable config file is ignored

Warning: World-writable config file is ignored

原创 MySQL 作者:lixiaxin200319 时间:2016-10-08 22:06:41 0 删除 编辑
故障现象:
[root@oradb mysql-5.6.27]# /app/oracle/oradata2/mysql-5.6.27/bin/mysqld_safe --defaults-file=/app/oracle/oradata2/mysql-5.6.27/my.cnf --user=mysql &
[1] 2695
[root@oradb mysql-5.6.27]# Warning: World-writable config file '/app/oracle/oradata2/mysql-5.6.27/my.cnf' is ignored
Warning: World-writable config file '/app/oracle/oradata2/mysql-5.6.27/my.cnf' is ignored
161008 22:07:19 mysqld_safe Logging to '/app/oracle/oradata2/mysql-5.6.27/data/oradb.err'.
161008 22:07:19 mysqld_safe Starting mysqld daemon with databases from /app/oracle/oradata2/mysql-5.6.27/data

原因: my.cnf 文件权限为 777 MYSQLD不读取该配置文件

处理:把 my.cnf 权限改为 644, chmod  644 my.cnf

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/21582653/viewspace-2125958/ ,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论

注册时间:2012-02-10

  • 博文量
    66
  • 访问量
    208507