Yeah, after reading /$DB/_user/$name I thought sync_gateway was connecting to the server, had access to all buckets and using the sync_gateway bucket as temporary storage. I would then be able to make calls to CRUD in any bucket. I now understand how it doesn't work that way. It connects and syncs to one bucket.
On Friday, February 14, 2014 9:54:55 AM UTC-8, Jens Alfke wrote: > > > On Feb 14, 2014, at 9:11 AM, Joel Saltzman <[email protected]<javascript:>> > wrote: > > Now when I put to the gateway (port 4985) I get: > {"error":"not_found","reason":"no such database \"default\""} > However, I definitely have a default bucket with no authentication > > > * The default database name is "sync_gateway", not "default". (You'll see > that logged on the 2nd line of output: "Opening db /sync_gateway …") > * With no command-line args, the Sync Gateway uses a trivial in-memory > storage engine called "Walrus", not Couchbase Server. (Again, you'll see > that on the 2nd line, "…server <walrus:>".) > > The setup docs are > here<http://docs.couchbase.com/sync-gateway/#connecting-sync-gateway-to-couchbase-server>. > > We definitely recommend reading them. > > —Jens > -- You received this message because you are subscribed to the Google Groups "Couchbase Mobile" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/mobile-couchbase/b35957ac-70bc-47f1-aa3b-8a45c684560a%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
