MySQL을 MariaDB로 연결 후 배포하는 도중 에러

Mysql을 MariaDB에 연결 후 배포를 시도했는데, MySQLWorkbench의 Test Connection에 실패하였습니다.

[Entrypoint]: mariadbd failed while attempting to check config

error: Found option without preceding group in config file: /etc/mysql/my.cnf at line: 1

살펴보니 클라우드타입 프로젝트 > 실행로그에서 이런 에러가 뜹니다.

로컬에서 my.cnf대신 my.ini가 있길래 포트번호 그룹핑된 것은 확인했고, 마리아db는 로컬에 설치도 안 되어있어서 저 config file 때문에 오류가 난 게 맞는지 잘 모르겠습니다.

현재 마리아db 프로젝트에 MySQL 관련 환경변수(DB_HOST, PORT)와 시크릿 변수(DB_USER,PASSWORD…) 다 설정해 놓은 상태입니다.

근본적인 문제는 MySQL Workbench에도 Test Connection을 시도하면 Unable to connect to localhost라고 뜹니다.

저 로그 에러와 관련이 있을까요? 어떻게 해결이 가능할까요.

Please authenticate to join the conversation.

Upvoters
Status

In Review

Board

💡 기능요청 Feature Request

Date

11 months ago

Author

paradis pomelo

Subscribe to post

Get notified by email when there are changes.