Welcome Guest. Please Login or Register  


You are here: Index > AMPPS > General Support > Topic : Using MongoDB in terminal



Normal Mode | Print  

 Using MongoDB in terminal, Using MongoDB in terminal which is running by AMPPS in ubuntu (1 Replies, Read 3917 times)
anonymox
Group: Member
Post Group: Newbie
Posts: 4
Status:

        0
        down vote

        favorite
       




           
           


   

I have AMPPS up and running in my ubuntu which is in /usr/local/ampps/ directory.

I want to use MongoDB which is available in AMPPS - I have started the MongoDB server from AMPPS control panel.

but I'm not able to use it from terminal,I'm in /usr/local/ampps/mongodb/bin/ directory and when I'm using ./mongo db mydb I get :

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

How can I use mongoDB from terminal ?

FYI : I used mysql which it was running by AMPPS in terminal this way :

cd /usr/local/ampps/mysql/bin/
./mysql -u root -p

And I was able to use mysql from terminal.
   
IP: --   


Threads
 anonymox   Using MongoDB in terminal, Using MongoDB in terminal which is running by AMPPS in ubuntu (1 Replies, Read 3917 times)
    |--  anonymox   I have AMPPS...   on October 4, 2016, 7:07 am

« Previous    Next »

Normal Mode | Print  



Users viewing this topic
1 guests, 0 users.


All times are GMT. The time now is May 2, 2024, 6:35 pm.

  Powered By AEF 1.0.8 © 2007-2008 Electron Inc.Queries: 11  |  Page Created In:0.046