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 &

猜你喜欢

转载自tongxiaoming520.iteye.com/blog/2392034
今日推荐