[Warning] World-writable config file '/etc/mysql/mysql.conf.d/mysqld.cnf' is ignored. - Wed, Jan 20, 2021
[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