Mac에서 MySQL설치, DB 및 User 생성


Mac에서 MySQL설치, DB 및 User 생성

MySQL 설치 Homebrew를 이용해 Mac에 MySQL를 설치하는 방법을 설명합니다. 이전 버전 mysql 삭제 과거 버전이 설치돼 있을 경우 다음과 같은 에러를 발생합니다. 'The server quit without updating PID file' 'unsupported redo log format' brew services list 명령어로 설치된 애플리케이션 확인 후 mysql 및 데이터 삭제 후 설치 진행해야 합니다. /usr/local/var/mysql 디렉토리는 mysql 로그 파일들이 있는 디렉토리 입니다. $ brew uninstall mysql $ rm -rf /usr/local/var/mysql brew로 설치할 mysql 정보 $ brew info mysql ==> mysql: stable 8.0.30 (bottled) mysql 설치 $ brew install mysql ... We've installed your MySQL database withou...


#brew #db #homebrew #mac #mysql

원문링크 : Mac에서 MySQL설치, DB 및 User 생성