当前位置: 首页 > MySQL数据库

怎么处理MySQL中Warning: World-writable config file is ignored故障问题

时间:2026-01-28 14:10:45

故障现象:
[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


上一篇:怎么实现mysql 5.7主主同步
下一篇:怎么解决Mysql中的Last_Errno报错问题
mysql
  • 英特尔与 Vertiv 合作开发液冷 AI 处理器
  • 英特尔第五代 Xeon CPU 来了:详细信息和行业反应
  • 由于云计算放缓引发扩张担忧,甲骨文股价暴跌
  • Web开发状况报告详细介绍可组合架构的优点
  • 如何使用 PowerShell 的 Get-Date Cmdlet 创建时间戳
  • 美光在数据中心需求增长后给出了强有力的预测
  • 2027服务器市场价值将接近1960亿美元
  • 生成式人工智能的下一步是什么?
  • 分享在外部存储上安装Ubuntu的5种方法技巧
  • 全球数据中心发展的关键考虑因素
  • 英特尔与 Vertiv 合作开发液冷 AI 处理器

    英特尔第五代 Xeon CPU 来了:详细信息和行业反应

    由于云计算放缓引发扩张担忧,甲骨文股价暴跌

    Web开发状况报告详细介绍可组合架构的优点

    如何使用 PowerShell 的 Get-Date Cmdlet 创建时间戳

    美光在数据中心需求增长后给出了强有力的预测

    2027服务器市场价值将接近1960亿美元

    生成式人工智能的下一步是什么?

    分享在外部存储上安装Ubuntu的5种方法技巧

    全球数据中心发展的关键考虑因素