Wednesday, February 16, 2022

2 Ways To Create Database in CouchDB

in This Tutorial you will Learn " 2 Ways To Create Database in CouchDB "

In CouchDB, database is the outermost structure where documents are stored. CouchDB provides cURL utility to create databases. You can also use Futon the web interface of CouchDB.

CouchDB is an open-source, document-oriented NoSQL database.
Homepage - https://couchdb.apache.org/
_________________________________________________________________________________________
Server - Os:  Rocky Linux 8.5  64Bit      | IP -192.168.1.60        |Hostname - server.yourdomain.com
_________________________________________________________________________________________


Method - 1
Futon

Method - 2
Curl
admin/password
curl -u admin:password -X PUT http://127.0.0.1:5984/production_db
curl -u admin:password -X PUT http://127.0.0.1:5984/car_db
curl -u admin:password -X PUT http://127.0.0.1:5984/watch_db
curl -u admin:password -X PUT http://127.0.0.1:5984/mobile_db
http://127.0.0.1:5984/_utils/  
_________________________________________________________________________________________



No comments:

Post a Comment