더북(TheBook)

8. MariaDB의 환경설정 파일을 모두 열어 확인해 보니 /etc/mysql/mariadb.conf.d 디렉터리에 있는 50-server.cnf 파일에서 bind-address가 127.0.0.1로 설정되어 있습니다. MariaDB를 실행할 때 앞에서 만든 openstack.cnf 파일을 먼저 읽지 않고 50-server.cnf 파일을 먼저 읽기에 뒤에 나온 openstack.cnf 파일에서 설정한 bind-address를 무시한 것입니다.

root@controller:~# cd /etc/mysql/mariadb.conf.d
root@controller:/etc/mysql/mariadb.conf.d# cat 50-server.cnf
…

Instead of skip-networking the default is now to listen only on

localhost which is more compatible and is not less secure.

bind-address = 127.0.0.1

신간 소식 구독하기
뉴스레터에 가입하시고 이메일로 신간 소식을 받아 보세요.