I wrote an android app to create a Couchbase Lite database according to this tutorial and it works correctly from what Log shows.
I also Installed Couchbase Serever and created a bucket named "mycouchbasedb" as shown:
When I run Sync gateway using the following config file:
{
"databases": {
"db": {
"bucket": "mycouchbasedb",
"username": "admin",
"password": "123456",
"server": "127.0.0.1:8091",
"enable_shared_bucket_access": true,
"import_docs": "continuous"
}
}
}
I get the following error:
404 no such database "mycouchbasedb" (0.0 ms)
1-What is the problem?
2-What is the difference between Bucket and Database in couchbase?