NoSQL数据库分类:
Key-value:redis,memcache
文档型:Mongodb
列式:hbase
图:neo4j
装个
mongodb
mongovue
pymongo
安装brew:
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
brew services start mongodb 启动mongodb数据库
mongo启动mongo
exit退出mongo
brew services stop mongodb 停止mongodb数据库
常见操作:
mongo
db
use yourdb
show dbs
show collections