On Tue, Feb 14, 2012 at 11:00 AM, Manokaran K <[email protected]> wrote:
> > On Tue, Feb 14, 2012 at 10:55 AM, Lauren Dahlin <[email protected] > > 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!
