맥북 mariadb 설치하기

맥북 2014. 11. 10. 22:43

Homebrew 설치 되어 있다는 가정하에 진행함.

terminal 실행후 아래 두 명령어를 실행하면 끝.


>brew update


>brew install mariadb


mariadb 설치후 db실행

>mysql.server start


mariadb 설치후 db stop

>mysql.server stop


mariadb 접속

mysql -uroot


맥북 실행시 mariadb 실행하려면

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

> launchctl load ~/Library/LaunchAgents/homebrew.mxcl.mariadb.plist



Posted by 무세1
,