Centos中查看mongoDB数据库路径的方法:1、打开centos终端;2、输入“ps -ef|grep monGodb”命令查看mongodb数据库路径即可。具体操作步骤:在centos系统桌面中使用快捷键【Ctrl+Alt+T】打开
Centos中查看mongoDB数据库路径的方法:1、打开centos终端;2、输入“ps -ef|grep monGodb”命令查看mongodb数据库路径即可。
具体操作步骤:
在centos系统桌面中使用快捷键【Ctrl+Alt+T】打开centos终端命令行模式。
在centos终端命令行中输入以下命令查看mongodb数据库路径即可。
ps -ef|grep mongodb
相关命令:
systemctl start mongod.service #开启MongoDBchkconfig mongod on #加入开机启动
systemctl restart mongod.service #重启MongoDB
ps -aux | grep mongod #查看数据库的进程是否存在
mongo#启动mongoshell
--结束END--
本文标题: centos怎么查看mongodb数据库路径
本文链接: https://www.lsjlt.com/news/109024.html(转载时请注明来源链接)
有问题或投稿请发送至: 邮箱/279061341@qq.com QQ/279061341
下载Word文档到电脑,方便收藏和打印~
2024-05-15
2024-05-15
2024-05-15
2024-05-15
2024-05-15
2024-05-15
2024-05-15
2024-05-15
2024-05-15
2024-05-15
回答
回答
回答
回答
回答
回答
回答
回答
回答
回答
0