먼저 홈브루 설치후
brew install mysql - mysql 설치 brew install mysqlworkbench - mysql mysql.server start - mysql시작 mysql_secure_installation - root 비밀번호 설정 mysql -u root -p - DB접속
mysql_secure_installation 입력시 나오는화면 이와같이 설정하면 된다.