Welcome Guest. Please Login or Register  


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



Threaded Mode | Print  

 Using MongoDB in terminal, Using MongoDB in terminal which is running by AMPPS in ubuntu (1 Replies, Read 3892 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: --   

Using MongoDB in terminal
anonymox
Group: Member
Post Group: Newbie
Posts: 4
Status:
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.

but away - why can't i edit my post ?
IP: --   

« Previous    Next »

Threaded Mode | Print  



Jump To :


Users viewing this topic
1 guests, 0 users.


All times are GMT. The time now is April 19, 2024, 3:19 pm.

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