couchDB:天真的问题

发布于 2024-12-08 18:49:11 字数 390 浏览 0 评论 0原文

下载/备份/重新加载

是否有相当于 MySQL UNLOAD 的功能?

数据库位置

数据库文件是否可以通过浏览器查看,或者是否存储在 public_html 根目录之上?

Javascript

是否可以使用 javascript 访问数据。如何对客户端隐藏密码?

托管

是否有网站像 MySQL 一样提供 couchDB 作为标准产品?

phpMyAdmin

有没有与 couchDB 相当的东西?

谢谢

mcl

Download / Backup / Reload

Is there any equivalent to MySQL UNLOAD ?

Database Location

Are the database files, viewable with a browser or are they stored above the public_html root ?

Javascript

If the data can be accessed with javascript. How are passwords hidden from the client ?

Hosting

Do any websites offer couchDB as a standard offering like MySQL ?

phpMyAdmin

Is there an equivalent for couchDB ?

Thanks

mcl

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

深居我梦 2024-12-15 18:49:11

是否有与 MySQL UNLOAD 等效的东西?

没有本机导出功能,但您可以通过 futon(couchdb 的内置管理界面)非常轻松地在两个数据库之间进行复制。

如果您确实想要将备份作为文件,您可以通过 _all_docs api“导出”所有数据(请参阅 http: //wiki.apache.org/couchdb/HTTP_Bulk_Document_API),但 _all_docs 不包含附件 - 您必须单独获取它们。

数据库文件可以通过浏览器查看还是存储在 public_html 根目录之上?

数据库文件无法从外部访问。你为什么想打开它们?每个数据库只有一个文件,并且可以快速增长到几 GB。您不会想打开这些文件,相信我;-)

由于它们是仅附加的,因此您可以安全地备份这些文件...

是否可以使用 javascript 访问数据。如何对客户端隐藏密码?

一个与另一个无关。 Javascript 作为一种可能的查询语言是在服务器上执行的,无论是 PHP 还是 Java 都没有任何区别。您在客户端上根本不需要 JavaScript - 您可以直接从 CouchDB 以纯 HTML 形式提供数据。

如何隐藏密码取决于您的意思:密码必须由客户端提供,并且用户密码以散列形式存储在 _users 数据库中(但您也可以使用其他身份验证机制)。

是否有网站像 MySQL 一样提供 couchDB 作为标准产品?

您可以在 http://www.iriscouch.com 上尝试 CouchDB - 他们提供免费的 CouchDB 托管。

phpMyAdmin - 是否有与 couchDB 等效的工具?

是的 - 这是内置的蒲团接口。您可以从浏览器通过 .../_utils 访问它。但界面完全不同 - Couch 没有 SQL 数据库...;-)

希望我能提供帮助!

Is there any equivalent to MySQL UNLOAD ?

There is no native export functionality, but you can replicate between two databases very easily via futon (couchdb's built-in admin interface).

If you really want a backup as a file, you can "export" all data via the _all_docs api (see http://wiki.apache.org/couchdb/HTTP_Bulk_Document_API), but _all_docs doesn't include attachments - you have to get them separately.

Are the database files, viewable with a browser or are they stored above the public_html root ?

The database files are not accessible fron the outside. Why would you want to open them? There is one file per database, and it can quickly grow to several gigabytes. You wouldn't want to open those files, trust me ;-)

As they are append-only, you can safely backup those, though...

If the data can be accessed with javascript. How are passwords hidden from the client ?

One has nothing to do with the other. Javascript as one possible language for queries is executed on the server, and it wouldn't make any difference if it were PHP or Java. You don't need JavaScript at all on the client - you can serve your data in plain HTML directly from CouchDB.

How passwords are hidden depends on what you mean: passwords have to be provided by the client, and the user passwords are stored as a hash in the _users database (but you can use other authentication mechanisms, too).

Do any websites offer couchDB as a standard offering like MySQL ?

You can try CouchDB on http://www.iriscouch.com - they offer free CouchDB hosting.

phpMyAdmin - Is there an equivalent for couchDB ?

Yes - it's the built in futon interface. You can reach it via .../_utils from your browser. But the interface is quite different - Couch is No SQL database... ;-)

Hope I could help!

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文