nutcracker.yml配置文件中添加以下:redis
redis_auth: .......(密碼)cli
同時用redis-cli去鏈接的時候,也須要-a參數以下:配置
redis-cli -p 1111 -a 123456密碼