$ /usr/bin/ruby -e “$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)”
$ brew install mysql
$ brew services start mysql
$ mysql_secure_installation
혹시 -bash: brew: command not found 오류가 뜨면 아래 명령어를 입력해주면 된다.
$ eval $(/opt/homebrew/bin/brew shellenv)
$ brew install mysqlworkbench
$ mysql -u root -p
$ apt-get update
$ sudo apt-get install mysql-server
$ mysql -u root -p