Is there a way to clear all the keys in a bucket from php?
Flush seems to be it!
Yes, just please don't use it before 1.7.1 as there are known issues.
We will be releasing that today, but to do this on previous versions you can delete and recreate the bucket.
Forum support is great for free but sometimes you need a guaranteed response time and dedicated resources for your questions or issues.Consider purchasing enterprise-level support from Couchbase: http://www.couchbase.com/products-and-services/overviewCall or email "sales -at- couchbase-dot- com" today!
Is there a way to drop and create a bucket from the memcachedD client?
Or can a membase client drop and create a bucket?
No, unfortunately you'd have to run that separately. Membase has a REST API that can be accessed from anywhere, but there are no direct client implementations: http://www.couchbase.org/wiki/display/membase/Membase+Management+REST+API
© 2013 COUCHBASE All rights reserved.