[Warning] World-writable config file '/etc/mysql/mysql.conf.d/mysqld.cnf' is ignored.

[Warning] World-writable config file ‘/etc/mysql/mysql.conf.d/mysqld.cnf’ is ignored.

mysql版本8.0.18,添加mysql.cnf一直无效,使用命令行连接mysql.cnf是报警告
[Warning] World-writable config file '/etc/mysql/mysql.conf.d/mysqld.cnf' is ignored.

原因:
需要将mysql.conf.d文件通过chmod进行权限降级。

chmod 644 /etc/mysql/conf.d/mysql.cnf

转载请注明来源,欢迎对文章中的引用来源进行考证,欢迎指出任何有错误或不够清晰的表达。可以在下面评论区评论,也可以邮件至 wind.kaisa@gmail.com

×

喜欢就点赞,疼爱就打赏