#啟動mongo命令
/data/liudi/mongodb/bin/mongo --port 27010
#顯示數據庫
show dbs;
#使用tps_live數據庫
use tps_live;
#顯示對象
show tables;
#刪除liveVo對象集中的數據
db.liveVo.remove({});
#啟動mongo命令
/data/liudi/mongodb/bin/mongo --port 27010
#顯示數據庫
show dbs;
#使用tps_live數據庫
use tps_live;
#顯示對象
show tables;
#刪除liveVo對象集中的數據
db.liveVo.remove({});
本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。