▶ AI시대에서 개발자가 사는 법

1분 읽기
Last updated on

맥에서 mariaDB 설치


설치 및 실행

아래 명령어들을 순서대로 실행하여 마리아 디비를 설치하고 실행한다.

brew update
brew install mariadb
mysql.server start

맥 부팅시 자동실행

ln -sfv /usr/local/opt/mariadb/*.plist ~/Library/LaunchAgents

mariadb stop 시 자동 restart 막기

launchctl load ~/Library/LaunchAgents/homebrew.mxcl.mariadb.plist # 실행하기
launchctl unload ~/Library/LaunchAgents/homebrew.mxcl.mariadb.plist # 종료하기