1, select the Finder, the shortcut key into the search directory:/usr/local and then into the MySQL directory:
2. Right click "Start Here" to open the terminal:
3, input execution:./scripts/mysql_install_db
4, after execution, enter the bin directory, and then execute mysqld:
5, so the MySQL server side started successfully. Then we press command+t, new open a terminal window bash,-u represents the current user, so the MySQL client opens,
Then enter Cd/usr/local/mysql/bin carriage return
Enter Mysql-u root to enter the interface to interact with MySQL
6. Exit after Interaction:
7, this just shut down the MySQL, then also need to close the running mysqld, I know a more violent direct method, first look at the MySQL process number:
Input: Ps-ef |grep MySQL
8, Input: kill-9 (./mysqld Front second number, here is 627) then enter
Input: Ps-ef |grep MySQL can continue to see if the process is not in:
Start MySQL under Mac platform to fully terminate mysql----Terminal eight step walk