couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Manokaran K <manoka...@gmail.com>
Subject Re: VERY Basic Question
Date Tue, 14 Feb 2012 05:33:54 GMT
On Tue, Feb 14, 2012 at 11:00 AM, Manokaran K <manokaran@gmail.com> wrote:

>
> On Tue, Feb 14, 2012 at 10:55 AM, Lauren Dahlin <ldahlin08@simons-rock.edu
> > wrote:
>
>> I am very new to couchdb. I need it to access an Amazon public dataset
>> using EC2. I am running an Ubuntu instance, have successfully mounted the
>> file, and can view the couchdb browser interface. However, I can't figure
>> out how to get access to the existing databases which are in .couch format.
>> I have several couch files in a folder ("/db") in the instance. I've tried:
>> curl -X GET http://localhost:5984/db
>> {"error":"not_found","reason":**"no_db_file"}
>> curl -X GET http://localhost:5984/db/**filname.couch<http://localhost:5984/db/filname.couch>
>> {"error":"not_found","reason":**"no_db_file"}
>>
>>
> You'll have to do curl -X GET http://localhost:5984/name_of_db.
>
> Hope that helps.
>
> best,
> mano
>


Your .couch files should be under /usr/local/var/lib/couchdb if you
installed couchdb in /usr/local. I don't think it'll work if you have it
under 'db' directory!

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message