【发布时间】:2015-03-09 22:25:37
【问题描述】:
我在 Ubuntu 12.04 LTS 上安装了 CouchDB,但默认版本是 1.0.1。
删除和安装新版本 1.6 后,我的 CouchDB 中有一些旧数据库: 1.0.1/_users 等
我不能删除它们,因为我不能在以数字等开头的数据库上调用命令。
我怎样才能完全删除它们?
这是我的命令和输出:
curl -X DELETE "http://127.0.0.1:5984/1.0.1/_users"
{"error":"illegal_database_name","reason":"Name: '1.0.1'. Only lowercase characters (a-z), digits (0-9), and any of the characters _, $, (, ), +, -, and / are allowed. Must begin with a letter."}
【问题讨论】:
-
我尝试删除 /var/lib/couchdb/1.0.1/,似乎可行,但 1.0.1 数据库仍然出现在最近的数据库概述中。
标签: couchdb