redis-cli auth password
redis-cli auth password
auth password (error) WRONGPASS invalid username-password pair or user is disabled.
CONFIG SET requirepass "super_secure_password"
redis-cli -x
See also
redis auth
redis-cli [ info server | memory usage | info memory | memory stats | memory doctor | dbsize | flushall | ping | monitor | --bigkeys | --stat | --scan | --latency | --latency-history | --latency-dist | --intrinsic-latency 5 | -x | -h ] redis-cli --help
Advertising: