본문 바로가기
스터디/php

[PHP] Warning: World-writable config file '/etc/my.cnf' is ignored 에러 해결방법

by 깝태 2013. 1. 19.


MYSQL 에 접속하려고 하는데 패스워드를 치는 메세지가 뜨기전에 다음과 같은 메세지가 뜨는 오류가 있습니다.


bitnami@linux:~$ mysql -u root -p

Warning: World-writable config file '/opt/bitnami/mysql/my.cnf' is ignored

Enter password:


저와 동일한 메세지로 오류가 발생하시는 경우 my.cnf 파일의 권한을 다시 바꿔주시면 됩니다.


chmod 755 /경로/my.cnf


다시 바꿔주시면 정상적으로 해결되실겁니다.