官术网_书友最值得收藏!

Installing MySQL on macOS X

OS X versions before 10.7 had MySQL Server installed by default. If you are using OS X 10.7 or later, then you will need to download and install MySQL Community Server from http://dev.mysql.com/downloads/mysql/.

There are many different ways to install MySQL on OS X. See http://dev.mysql.com/doc/refman/5.7/en/osx-installation.html for installation instructions for OS X. Note that users on OS X should have administrator privileges to install MySQL Server.

Once you install the server, you can start it either from Command Prompt or from the system preferences:

  1. To start it from Command Prompt, execute the following command in the Terminal:
sudo /usr/local/mysql/support-files/mysql.server start  
  1. To start it from System Preferences, open the preferences and click the MySQL icon:

Figure 1.15: MySQL System Preferences - OS X

  1. Click the Start MySQL Server button.
主站蜘蛛池模板: 梨树县| 抚松县| 深水埗区| 大庆市| 东兰县| 临清市| 黑水县| 宣威市| 大名县| 无为县| 江油市| 茌平县| 大余县| 重庆市| 察隅县| 翼城县| 阳江市| 晋城| 克东县| 贡嘎县| 孟连| 霍邱县| 深州市| 乌恰县| 太和县| 潜山县| 理塘县| 二手房| 云阳县| 西青区| 临安市| 赞皇县| 丰顺县| 山阳县| 博乐市| 台北市| 新乡市| 沁阳市| 敖汉旗| 大邑县| 讷河市|