Mysql学习MySQL无法重启报错Warning: World-writable config fil
《Mysql学习MySQL无法重启报错Warning: World-writable config file ‘/etc/my.cnf’ is ignored的解决方法》要点: MYSQL数据库问题分析 MYSQL数据库在关闭数据库的命令发现mysql关不了,提示 MYSQL数据库下面看下整个过程 MYSQL数据库重启MySQL MYSQL数据库
[root@ttlsa ~]# service mysqld stop
Warning: World-writable config file '/etc/my.cnf' is ignored
Warning: World-writable config file '/etc/my.cnf' is ignored
MySQL manager or server PID file could not be found![FAILED]
MYSQL数据库可以看到mysql停止不了 MYSQL数据库查看my.cnf的权限 MYSQL数据库
[root@ttlsa ~]# ls -l /etc/my.cnf
-rwxrwxrwx 1 root root 4878 Jul 30 11:31 /etc/my.cnf
MYSQL数据库权限777,任何一个用户都可以改 MYSQL数据库修复MySQL问题 MYSQL数据库
[root@ttlsa ~]# chmod 644 /etc/my.cnf
MYSQL数据库my.cnf设置为用户可读写,其他用户不可写. MYSQL数据库关闭MySQL MYSQL数据库
[root@ttlsa ~]# service mysqld stop
Shutting down MySQL..[ OK ]
MYSQL数据库MySQL关闭成功. 问题很简单 MYSQL数据库总结 MYSQL数据库以上就是这篇文章的全部内容了,希望本文的内容对大家的学习或者工作能带来一定的赞助,如果有疑问大家可以留言交流. 编程之家PHP培训学院每天发布《Mysql学习MySQL无法重启报错Warning: World-writable config file ‘/etc/my.cnf’ is ignored的解决方法》等实战技能,PHP、MYSQL、LINUX、APP、JS,CSS全面培养人才。 (编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |