天天看點

Mac各種資料庫安裝和啟動【筆記】

MongoBD

一個基于分布式檔案存儲的資料庫。

下載下傳

<a href="https://www.mongodb.com/download-center#community">https://www.mongodb.com/download-center#community</a>

安裝

解壓包

mongodb 資料預設存在/data/db下,是以需要建立這個檔案夾,以及設定權限

啟動

檢測

在浏覽器輸入:http://localhost:27017/,可以看到如下提示:

It looks like you are trying to access MongoDB over HTTP on the native driver port.

如此,MongoDB資料庫服務已經成功啟動了。

關閉

Redis

<a href="http://www.redis.net.cn/download/">http://www.redis.net.cn/download/</a>

直接解壓,在終端執行make

停止

Mysql

<a href="https://dev.mysql.com/downloads/file/?id=468992">https://dev.mysql.com/downloads/file/?id=468992</a>

在偏好設定的右下方,有MySQL的圖示。

Mac各種資料庫安裝和啟動【筆記】

設别名

設root密碼

<a></a>

本文轉自 海角在眼前 部落格園部落格,原文連結:http://www.cnblogs.com/lovesong/p/6695487.html如需轉載請自行聯系原作者