`

warning: World-writable config file my.cnf is ignored

 
阅读更多

##warning: World-writable config file /home/simon/Desktop/Depot/config/my.cnf is ignored
cd /home/simon/Desktop/Depot/config
ll
-rwxrwxrwx  1 root  root  1299 Nov 13  2016 my.cnf

If the first part of the line looks like "-rw-rw-rw-" or "rwxrwxrwx", the file's permissions are "World-writable".
To fix this problem, use the following command to change file's permissions

sudo chmod 644 my.cnf
-rw-r--r--  1 root  root  1299 Nov 13  2016 my.cnf

 

mysqld_safe --defaults-file=/etc/mysql/my.cnf --user=mysql &

分享到:
评论

相关推荐

    MySQL无法重启报错Warning: World-writable config file ‘/etc/my.cnf’ is ignored的解决方法

    在关闭数据库的命令发现mysql关不了,提示Warning: World-writable config file '/etc/my.cnf' is ignored ,大概意思是权限全局可写,任何一个用户都可以写。mysql担心这种文件被其他用户恶意修改,所以忽略掉这个...

    Python库 | drf-writable-nested-0.1.2.tar.gz

    资源分类:Python库 所属语言:Python 资源全名:drf-writable-nested-0.1.2.tar.gz 资源来源:官方 安装方法:https://lanzao.blog.csdn.net/article/details/101784059

    Python库 | drf-writable-nested-0.3.0.tar.gz

    资源分类:Python库 所属语言:Python 资源全名:drf-writable-nested-0.3.0.tar.gz 资源来源:官方 安装方法:https://lanzao.blog.csdn.net/article/details/101784059

    MySQL数据库常见错误及解决方案

    1.MySQL无法重启问题解决Warning: World-writable config file ‘/etc/my.cnf’ is ignored  原因  帮朋友维护服务器,在关闭数据库的命令发现mysql关不了,提示Warning: World-writable config file '/etc/my....

    MySQL中配置文件my.cnf因权限问题导致无法启动的解决方法

    主要给大家介绍了关于MySQL中配置文件my.cnf因权限问题导致无法启动的解决方法,该无法启动的错误提示代码是:World-writable config file '/etc/my.cnf' is ignored,文中给出了详细的解决方法,需要的朋友们下面来...

    Python库 | drf-writable-nested-0.4.2.tar.gz

    资源分类:Python库 所属语言:Python 资源全名:drf-writable-nested-0.4.2.tar.gz 资源来源:官方 安装方法:https://lanzao.blog.csdn.net/article/details/101784059

    typora-setup-x64.exe2018年8月27日

    一个免费的markdown工具:Readable & Writable Typora will give you a seamless experience as both a reader and a writer. It removes the preview window, mode switcher, syntax symbols of markdown source ...

    SDFix: KitKat Writable MicroSD

    SDFix能够去除安卓4.4上无法向外置sd卡写数据的限制。

    org.springframework.web.servlet-3.0.1.RELEASE-A.jar

    Invalid property 'error_view' of bean class [com.demo.controller.action.AuthorAction]: Bean property 'error_view' is not writable or has an invalid setter method. Does the parameter type of the ...

    xc8-v1.40-full-install-windows-installer.exe

    administrator账户无法安装,会遇到安装权限的问题,如destination not writable警告。 要正确安装需要administrator组的非administrator账户如user1。 登录到user1,安装xc8-v1.45-full-install-windows-installer...

    MySerialPort.js工具类

    write---port.writable.getWriter()的写入方法 ———————————————— 版权声明:本文为CSDN博主「ZhangY1217」的原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接及本声明。 原文链接:...

    SuperSU-v2.8.2.zip

    $ ./emulator -avd Pixel_XL_API_23 -writable-system #回车后会有一条警告,无视即可 emulator: WARNING: System image is writable 如果出现警告,说明成功。 二、安装SuperSU.apk 进入到刚才下载的SuperSU.apk ...

    dubbo-admin-2.5.8.war(编译环境JDK8)

    org.springframework.beans.NotWritablePropertyException: Invalid property 'URIType' of bean class [com.alibaba.citrus.service.uribroker.uri.GenericURIBroker]: Bean property 'URIType' is not writable or...

    TinyTeX-1.tar.gz

    macos 可能出错:add_link_dir_dir: destination /usr/local/bin not writable, no links from /Users/liutz/Library/TinyTeX/bin/universal-darwin..... 解决办法:(终端输入) sudo mkdir -p /usr/local/bin sudo ...

    drf-writable-nested:适用于Django REST Framework的可写嵌套模型序列化器

    DRF可写嵌套 ...pip install drf-writable-nested 用法 例如,对于以下模型结构: from django . db import models class Site ( models . Model ): url = models . CharField ( max_length = 100 ) clas

    hook-writable-stream:连接到Node.js可写流

    安装$ npm install --save-dev hook-writable-stream用法使用回调var hookWritableStream = require ( 'hook-writable-stream' ) ;var hook = hookWritableStream ( process . stdout , false , function ( string )...

    在RHEL3上安装ORALCE9I

    Please ensure that this directory is writable and has atleast 60 MB of disk space. Installation cannot continue. : Success [oracle@test oraclelinux]$ ll /software/oraclelinux/install/unzip -rw-r--r--...

    snmp4j-agent-2.0.6-distribution.zip[包含源码&API;]

    snmp4j-agent-2.0.6-distribution.zip[包含源码&API;] 更新日期:2012年4月3日

    Dubbo管理控制台dubbo admin2.X for jdk8 (window,liunx)

    [com.alibaba.citrus.service.uribroker.uri.GenericURIBroker]: Bean property 'URIType' is not writable or has an invalid setter method. Does the parameter type of the setter match the return type of ...

Global site tag (gtag.js) - Google Analytics