-
Download from MySQL official website. Some bugs has been reported by people that use Homebrew to install MySQL.
-
Open and install it. There is only one file to install now, not three!
-
Edit
~/.zshrc
and add the following lines:
alias mysql="/usr/local/mysql/bin/mysql"
alias mysqladmin="/usr/local/mysql/bin/mysqladmin"
-
Run
mysqladmin -u root password "yourpassword"
in iTerm2. -
Go to MySQL in System Preference and turn it on.
-
Download, install and open Sequel Pro. In Host, fill in
127.0.0.1
, usernameroot
and then password, tap Connect. By the way, the default port is 3306. -
File > Import your .sql file.