-
AWS Bitnami LAMP MySQL my.cnf 파일 위치소소한 IT 이야기 2022. 3. 3. 11:41반응형
Bitnami에서 제공하는 AWS AMI의 MySQL 외부 접속을 위하여 my.cnf 파일을 찾아봤는데 커스텀 운영이미지이다보니, 기존의 Ubuntu나 다른 리눅스 패키지들과의 기존 위치가 달랐다.
일반적으로는 /etc/mysql 관련 폴더 하위에 설정 파일이 존재하는데, Bitnami AMI (Debian, Seoul)의 경우에는 위치가 다르다.
https://bitnami.com/stack/lamp/cloud/aws/amis
LAMP Public AMIs
Amazon Web Services Public AMIs for LAMP packaged by Bitnami Trademarks: This software listing is packaged by Bitnami. The respective trademarks mentioned in the offering are owned by the respective companies, and use of them does not imply any affiliation
bitnami.com
해당 파일은 /opt/bitnami/mariadb/conf/ 하위에 my.cnf 파일로 위치하고 있으며 외부접속을 허용할 경우 bind-address를 0.0.0.0 으로 설정 후, 모든 Bitnami 서비스를 재시작 시키면 외부 접속이 허용된다.
sudo /opt/bitnami/ctlscript.sh restart
반응형'소소한 IT 이야기' 카테고리의 다른 글
Nodejs 18버전에서 Fetch 기능이 포함됩니다 (0) 2022.02.07 Web에서 MongoDB 코드 간단하게 테스트 할 수 있는 사이트 (0) 2020.10.25 AWS SSH instance connection Log in failed 문제 해결법 (0) 2020.09.28 dotenv 패키지로 Node.js에서 환경변수 사용하기 (0) 2020.04.30 Heroku에 올려진 프로젝트 AWS Lightsail로 이전 작업기 - 초기작업 (0) 2020.04.29