/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
isoyul@isoyul-ui-MacBookAir ~ % brew update
isoyul@isoyul-ui-MacBookAir ~ % brew search mysql
isoyul@isoyul-ui-MacBookAir ~ % brew install mysql
isoyul@isoyul-ui-MacBookAir ~ % brew services start mysql
isoyul@isoyul-ui-MacBookAir ~ % mysql_secure_installation
1) 비밀번호 복잡도 yes/no -> n
Would you like to setup VALIDATE PASSWORD component? Press y|Y for Yes, any other key for No: n
2) 비밀번호 입력 및 확인
3) 익명 사용자 삭제 yes/no -> y
Remove anonymous users? (Press y|Y for Yes, any other key for No) : y
4) 원격 접속 허용 yes/no -> y
Disallow root login remotely? (Press y|Y for Yes, any other key for No) : y
5) testDB 삭제 yes/no -> n
Remove test database and access to it? (Press y|Y for Yes, any other key for No) : n
6) 변경된 권환을 기존 테이블에 적용 yes/no -> y
Reload privilege tables now? (Press y|Y for Yes, any other key for No) : y
isoyul@isoyul-ui-MacBookAir ~ % mysql -uroot -p