🧨 Docker로 MariaDB 설치 이슈

태태·2023년 12월 1일
1

트러블 슈팅

목록 보기
2/7
post-thumbnail

들어가기 전

  • mariadb 버전 : 11.2.2

문제 발생 상황

  • MariaDB  Container 설치 중 mysql -u root -p 를 하면 bash: mysql: command not found

문제 해결 방안 1 - 실패

mysql-client 설치

apt-get install -y mysql-client

문제 발생 : Welcome to the MySQL monitor 가 뜨는 문제 발생

문제 해결 방안 2 - 성공

MariaDB 서버 11.0은 mysql -> mariadb로 명령어 변경

mariadb -u root -p
profile
하이루

0개의 댓글