当前位置: 技术问答>linux和unix
ubuntu mysql配置错误导致无法启动mysql,希望达人前来帮助。
来源: 互联网 发布时间:2016-12-12
本文导语: 各位大侠,我修改了mysql的my.cnf文件的bind-address后,就不能登录mysql 出现的错误是: Warning: World-writable config file '/etc/mysql/my.cnf' is ignored Enter password: ERROR 2002 (HY000): Can't connect to local MySQL server through socket...
各位大侠,我修改了mysql的my.cnf文件的bind-address后,就不能登录mysql 出现的错误是:
Warning: World-writable config file '/etc/mysql/my.cnf' is ignored
Enter password:
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
搜索全文,也找不到这个文件,请问如何处理呢?
Warning: World-writable config file '/etc/mysql/my.cnf' is ignored
Enter password:
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
搜索全文,也找不到这个文件,请问如何处理呢?
|
chmod 644 /etc/mysql/my.cnf
|
Warning: World-writable config file '/etc/mysql/my.cnf' is ignored
权限太宽了,配置文件被忽略了
权限太宽了,配置文件被忽略了
|
冏,我居然没有看到
您可能感兴趣的文章:
本站(WWW.)旨在分享和传播互联网科技相关的资讯和技术,将尽最大努力为读者提供更好的信息聚合和浏览方式。
本站(WWW.)站内文章除注明原创外,均为转载、整理或搜集自网络。欢迎任何形式的转载,转载请注明出处。
本站(WWW.)站内文章除注明原创外,均为转载、整理或搜集自网络。欢迎任何形式的转载,转载请注明出处。