0
我在我的ubuntu上運行了AMPPS並運行在/usr/local/ampps/
目錄中。在ubuntu中運行的AMPPS終端中使用MongoDB
我想使用AMPPS中提供的MongoDB - 我已經從AMPPS控制面板啓動了MongoDB服務器。
,但我不能,我在/usr/local/ampps/mongodb/bin/
目錄是使用它從終端,當我使用./mongo db mydb
我得到:
MongoDB shell version: 3.2.0
connecting to: use
2016-10-04T09:29:04.921+0330 E - [main] file [mydb] doesn't exist
failed to load: mydb
如何使用MongoDB的從終端?
FYI:我使用的MySQL,它是由AMPPS在終端這種方式運行:
cd /usr/local/ampps/mysql/bin/
./mysql -u root -p
,我能夠用mysql從終端。
同樣的事情在這裏,我該怎麼做? – anonymox