Warning: World-writable config file '/usr/local/mysql51/my.cnf' is ignored
2014-06-19 15:12
288 查看
mysql启动时报报如下错
/mysql51/share/mysql/mysql.server start --user=root
Warning: World-writable config file '/usr/local/mysql51/my.cnf' is ignored
Warning: World-writable config file '/usr/local/mysql51/my.cnf' is ignored
Starting MySQL. [ OK ]
原因是my.cnf权限设置的太大,mysql忽略了my.cnf配置文件,采取的默认参数启动的
chmod 644 my.cnf
这种情况下如果启动过mysql
mysql的err日志存在如下错误日志
/usr/local/mysql51/libexec/mysqld: File './mysql-bin.000002' not found (Errcode: 13)
140619 15:08:55 [ERROR] Failed to open log (file './mysql-bin.000002', errno 13)
140619 15:08:55 [ERROR] Could not open log file
140619 15:08:55 [ERROR] Can't init tc log
140619 15:08:55 [ERROR] Aborting
140619 15:08:55 InnoDB: Starting shutdown...
140619 15:09:00 InnoDB: Shutdown completed; log sequence number 0 1176387
140619 15:09:00 [Note] /usr/local/mysql51/libexec/mysqld: Shutdown complete
执行chgrp -R mysql /usr/local/mysql51/var/*
重启mysql
本文出自 “红色石头” 博客,请务必保留此出处http://heishi317.blog.51cto.com/4301036/1428217
/mysql51/share/mysql/mysql.server start --user=root
Warning: World-writable config file '/usr/local/mysql51/my.cnf' is ignored
Warning: World-writable config file '/usr/local/mysql51/my.cnf' is ignored
Starting MySQL. [ OK ]
原因是my.cnf权限设置的太大,mysql忽略了my.cnf配置文件,采取的默认参数启动的
chmod 644 my.cnf
这种情况下如果启动过mysql
mysql的err日志存在如下错误日志
/usr/local/mysql51/libexec/mysqld: File './mysql-bin.000002' not found (Errcode: 13)
140619 15:08:55 [ERROR] Failed to open log (file './mysql-bin.000002', errno 13)
140619 15:08:55 [ERROR] Could not open log file
140619 15:08:55 [ERROR] Can't init tc log
140619 15:08:55 [ERROR] Aborting
140619 15:08:55 InnoDB: Starting shutdown...
140619 15:09:00 InnoDB: Shutdown completed; log sequence number 0 1176387
140619 15:09:00 [Note] /usr/local/mysql51/libexec/mysqld: Shutdown complete
执行chgrp -R mysql /usr/local/mysql51/var/*
重启mysql
本文出自 “红色石头” 博客,请务必保留此出处http://heishi317.blog.51cto.com/4301036/1428217
相关文章推荐
- MySQL无法重启报错Warning: World-writable config file ‘/etc/my.cnf’ is ignored的解决方法
- 解决Warning: World-writable config file ‘/etc/my.cnf’ is ignored
- mysql启动warning: World-writable config file
- warning: World-writable config file my.cnf is ignored
- MySQL无法重启问题解决Warning: World-writable config file ‘/etc/my.cnf’ is ignored
- CocoaPods 【warning: Insecure world writable dir /usr/local/bin in PATH, mode 040777】
- Warning: World-writable config file '/etc/mysql/my.cnf' is ignored
- MySQL无法重启报错Warning: World-writable config file ‘/etc/my.cnf’ is ignored的解决方法
- warning: World-writable config file /opt/lampp/etc/my.cnf is ignored
- MySQL无法重启问题解决Warning: World-writable config file ‘/etc/my.cnf’ is ignored
- Warning: World-writable config file '/etc/my.cnf' is ignored
- Warning: World-writable config file '/etc/mysql/my.cnf' is ignored
- Warning: World-writable config file '/etc/my.cnf' is ignored
- Warning: World-writable config file '/etc/my.cnf' is ignored
- MySQL无法重启问题解决Warning: World-writable config file ‘/etc/my.cnf’ is ignored
- Warning: World-writable config file '/etc/my.cnf' is ignored
- MySQL无法重启问题解决Warning: World-writable config file '/etc/my.cnf' is ignored
- Docker mysql [Warning] World-writable config file '.cnf' is is ignored
- Warning: World-writable config file '/data0/mysql/3306/my.cnf' is ignored
- MySQL无法重启问题解决Warning: World-writable config file ‘/etc/mysql/my.cnf’ is ignored