📜  就绪检查失败:需要 NOAUTH 身份验证. - Javascript代码示例

📅  最后修改于: 2022-03-11 15:02:52.237000             🧑  作者: Mango

代码示例1
const redis = require('redis');
const redisPassword = "password" ; 
const client = redis.createClient({
          host : '127.0.0.1',  
          no_ready_check: true,
          auth_pass: redisPassword,                                                                                                                                                           
});