프로그래밍/Linux
my.cnf 위치 찾기
kugancity
2019. 1. 9. 15:29
반응형
리눅스에서 mysql 설정파일 (my.cnf) 위치가 기억이 안날경우
아래 명령어를 입력해서 나온 파일 위치 순서대로 찾아보면 된다.
# mysqld --verbose --help | grep -A 1 'Default options'
Default options are read from the following files in the given order:
/etc/my.cnf /etc/mysql/my.cnf ~/.my.cnf
728x90
반응형