当前位置:首页 > 操作系统 > Linux

linux下连接mysql数据库时提示“World-writable config file '/etc/mysql/mysql.conf.d/mysqld.cnf' is ignored”的解决办法

遇到此问题时,软件去连接mysql数据库会连接不上。mysql认为该文件是不安全,不使用此文件。

解决方法:

1、查看mysql配置文件的权限 /etc/mysql/mysql.conf.d/mysqld.cnf

2、如果权限为777,请修改为 chmod 664 /etc/mysql/mysql.conf.d/mysqld.cnf

3、重启mysql服务 service mysql restart.

再去连接应该就可以了。

etc/mysql/mysql.conf.d/mysqld.cnf' is ignored”的解决办法' ref='nofollow'>linux下连接mysql数据库时提示“World-writable config file '/etc/mysql/mysql.conf.d/mysqld.cnf' is ignored”的解决办法

原文:https://www.cnblogs.com/Loveyinran/p/14120686.html


【说明】本文章由站长整理发布,文章内容不代表本站观点,如文中有侵权行为,请与本站客服联系(QQ:254677821)!

相关教程推荐

其他课程推荐