MySQL is one of the most commonly used relational databases in development work, and he is an open source database management Nishinomiya, developed, released and supported by MySQL AB. MySQL is a cross-platform open source relational database management system, which is widely used in the development of small and medium-sized websites. With the realization of data sharing, reduce data redundancy, with a specific data type, with high data independence and unified data control function.
One. mysql Installation
1. Start the download, website address: https://www.mysql.com/downloads/.
Find Downloads---Community---MySQL Community Downloads
I chose the first one to download
In this interface choose not to register the account directly download the line
2. Download it and follow the steps to install it.
Two. mysql Start and stop
1. Start
Sudo/usr/local/mysql-8.0.11-macos10.13-x86_64/support-files/mysql.server start
2. Stop
Sudo/usr/local/mysql-8.0.11-macos10.13-x86_64/support-files/mysql.server stop
3. Restart
Sudo/usr/local/mysql-8.0.11-macos10.13-x86_64/support-files/mysql.server restart
Install MySQL under Mac