一、下載MySQL
官網(wǎng)下載頁(yè)面點(diǎn)擊后進(jìn)入如下頁(yè)面
按圖操作即可,接下來(lái):

二、安裝和配置
安裝按照步驟來(lái)即可。但是要記住最后的初始密碼。
最后我們?cè)陔娔X的系統(tǒng)偏好設(shè)置里面可以看見安裝的MySQL
默認(rèn)MySQL是啟動(dòng)的。
在打開之前我們需要在終端中配置一下。
PATH="$PATH":/usr/local/mysql/bin
mysql -u root -p
#輸入密碼
#Terminal顯示
#Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 10
Server version: 5.7.12
Copyright (c) 2000, 2016, Oracle and/or its affiliates. All rights reserved.
Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
mysql>SET PASSWORD = PASSWORD('new password');
操作完上面的就可以正常使用MySQL。
詳細(xì)可以參考《Mac OS系統(tǒng)安裝Mysql》 。
以上就是本文的全部?jī)?nèi)容,希望對(duì)大家的學(xué)習(xí)有所幫助,也希望大家多多支持腳本之家。
您可能感興趣的文章:- mysql 5.7.17 安裝配置方法圖文教程
- mysql5.7.17.msi安裝圖文教程
- windows10安裝mysql5.7.17教程
- mysql5.7.17安裝配置圖文教程
- mysql 5.7.17 安裝配置方法圖文教程(windows)
- mysql 5.7.17 安裝配置方法圖文教程(CentOS7)
- mysql 5.7.17 winx64安裝配置方法圖文教程
- mysql 5.7.17 winx64安裝配置圖文教程
- win7下mysql5.7.17安裝配置方法圖文教程
- Windows10下mysql 5.7.17 安裝配置方法圖文教程
- Mysql5.7.17 winx64.zip解壓縮版安裝配置圖文教程
- mysql 5.7.17 winx64解壓版安裝配置方法圖文教程