Skip to main content

Redis

 

Redis is an in-memory database.


To run redis on local server:

$ redis-cli


To connect to remore redis instance:

 

$ redis-cli -h host -p port -a password
 
Example:
$redis-cli -h 127.0.0.1 -p 6379 -a "mypass" 
 
Once inside, you can use commands like:
INFO
INFO KEYSPACE
KEYS *
GET <KEY> 
 

Comments