Home Whiteboard Graphing Calculator Online Compilers Articles Tools

Explore Categories

Find the perfect tutorial for your learning journey

Python TechnologiesDatabasesComputer ProgrammingWeb DevelopmentJava TechnologiesComputer ScienceMobile DevelopmentBig Data & AnalyticsMicrosoft TechnologiesDevOpsLatest TechnologiesMachine LearningDigital MarketingSoftware QualityManagement Tutorials View All Categories
Tutorials Courses Jobs Login
Redis Tutorial
  • Redis - Home
  • Redis - Overview
  • Redis - Environment
  • Redis - Configuration
  • Redis - Data types
  • Redis - Commands
  • Redis - Keys
  • Redis - Strings
  • Redis - Hashes
  • Redis - Lists
  • Redis - Sets
  • Redis - Sorted Sets
  • Redis - HyperLogLog
  • Redis - Publish Subscribe
  • Redis - Transactions
  • Redis - Scripting
  • Redis - Connections
  • Redis - Server
  • Redis Advanced
  • Redis - Backup
  • Redis - Security
  • Redis - Benchmarks
  • Redis - Client Connection
  • Redis - Pipelining
  • Redis - Partitioning
  • Redis - Java
  • Redis - Php
  • Redis Useful Resources
  • Redis - Quick Guide
  • Redis - Useful Resources
  • Redis - Discussion
Selected Reading
  • UPSC IAS Exams Notes
  • Developer's Best Practices
  • Questions and Answers
  • Online Resume Builder
  • HR Interview Questions
  • Computer Glossary
  • Who is Who
Home Redis Redis - Server Flushdb Command

Redis - Server Flushdb Command



Previous
Quiz
Next

Redis FLUSHDB deletes all the keys of the currently selected DB. This command never fails.

Return Value

String reply.

Syntax

Following is the basic syntax of Redis FLUSHDB command.

redis 127.0.0.1:6379> FLUSHDB

Example

redis 127.0.0.1:6379> FLUSHDB  
OK 
redis_server.htm
Previous Quiz Next
Advertisements
  • ABOUT US
  • OUR TEAM
  • CAREERS
  • JOBS
  • CONTACT US
  • TERMS OF USE
  • PRIVACY POLICY
  • REFUND POLICY
  • COOKIES POLICY
  • FAQ'S
tutorials point logo
Download Android App Download IOS App

Tutorials Point is a leading Ed Tech company striving to provide the best learning material on technical and non-technical subjects.

Copyright 2026. All Rights Reserved.