0

How to delete couchdb database in Centos?

Asked 3 years ago (Jan 14, 2021) in the field of Operating Systems by Steven

I’m having trouble communicating with the couchdb database. Please learn how to delete couchdb databases.


Answers


0
Answered 3 years ago (Jan 14, 2021) by Eldernode staff

Dear Steven, if you need to delete a database, you can use the below command as the delete parameter. 

# curl -u admin:P@ssword123 -X DELETE http://127.0.0.1:5984/users_db 

To check the database, type:

# curl -u admin:P@ssword123 -X GET http://127.0.0.1:5984/_all_dbs 

Feel free to ask your further probable questions or find a related useful article on: 

 

Tutorial Install Apache CouchDB on CentOS 8

We are by your side every step of the way

Think about developing your online business; We will protect it compassionately

We are by your side every step of the way

+8595670151

7 days a week, 24 hours a day