MySQL 시작하기
Homebrew 설치하기 [페이지 바로가기]
$ /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"MySQL 설치하기
$ brew update$ brew install mysql$ brew install mysql <version>We've installed your MySQL database without a root password. To secure it run:
mysql_secure_installation
MySQL is configured to only allow connections from localhost by default
To connect run:
mysql -uroot
To have launchd start mysql now and restart at login:
brew services start mysql
Or, if you don't want/need a background service you can just run:
mysql.server start
==> Summary비밀번호 설정하기
설치된 버전 확인하기
MySQL 시작하기
MySQL 접속하기
접속 끊기
상태확인하기
사용자 계정 다루기
사용자 계정 확인하기
사용자 계정 생성하기
사용자 계정 삭제하기
사용자에게 권한 주기
모든 권한 주기
특정 데이터베이스 권한주기
사용자 권한 취소하기
모든 권한 삭제
특정 권한 삭제
데이터베이스
Database 조회
Database 생성
Database 선택
참조
Last updated