redis常用命令

redis常用命令

连接redis命令
redis-cli -h 127.0.0.1 -p 6379

密码验证
auth pwdsf43

选择数据库
select 0;

获取所有数据
keys *

你可能感兴趣的:(redis)