重启命令
service mongodb restart
启动命令
mongod -f /data/tools/mongodb/config/config.conf
必须要带配置文件才能启动
关闭命令
mongo
use admin
db.shutdownServer()
重启命令
service mongodb restart
启动命令
mongod -f /data/tools/mongodb/config/config.conf
必须要带配置文件才能启动
关闭命令
mongo
use admin
db.shutdownServer()
本文介绍了Java程序如何通过`Scanner`类接收和处理用户的命令行输入。
举报文章
请选择举报类型
补充说明
0/200
上传截图
格式支持JPEG/PNG/JPG,图片不超过1.9M