各数据库启动命令
1. mongodb
启动
mongod --dbpath=/Users/silince/Documents/data/db
配置文件: /usr/local/etc/mongod.conf
#阿里云
# 启动
mongod --dbpath=/usr/mongodb/db/ --bind_ip=0.0.0.0 --auth #启动mongodb(阿里云)
use admin
db.auth("silince","z***y")
use Sina
# 关闭
use admin
db.auth("silince","z***y")
db.shutdownServer()
2. mysql
启动
mysql.server start
3. redis
启动
redis-server /usr/local/redis-5.0.7/redis.conf
redis-cli
文件路径:/usr/local
配置文件:/usr/local/redis-5.0.7/redis.conf
关闭
redis-cli SHUTDOWN
4 neo4j
启动
/Users/silince/Applications/neo4j-community-3.5.14/bin/neo4j start
关闭
/Users/silince/Applications/neo4j-community-3.5.14/bin/neo4j stop
既已览卷至此,何不品评一二: