Mac Ben changed a block of solid-state drive, all re-loaded, MySQL too slow to download the official website, direct Baidu "MySQL Mac", the first is:
Unexpectedly after downloading, found that this is a compressed package version, and there is no installation program. Search the internet for a bit, you need to manually install the command line, recorded here:
1. Unzip and rename the extracted directory to MySQL
2. Copy the extracted directory MySQL to/usr/local/mysql
3. Chown-r < Current user name >/usr/local/mysql (just in case, file permissions issues during installation)
4. sudo/usr/local/mysql/scripts/mysql_install_db (smooth, the installation process will be completed soon)
5. /usr/local/mysql/bin/mysqld_safe (native development, Safe Mode boot basic can meet development requirements)
After the boot is complete, you can use/usr/local/mysql/bin/mysql-uroot-p to verify that you can connect, by default the password for root is empty.
Use compressed version of MySQL on Mac system (non-installed version)