I came across an erorr when the Redis password is set. Sample code is as
$redis = (new \Ehann\RedisRaw\PhpRedisAdapter())->connect(
'127.0.0.1',
'6379',
0,
'password'
);
When RedisException: NOAUTH Authentication required. in file /experiments/vendor/ethanhann/redis-raw/src/PhpRedisAdapter.php on line 23
Stack trace:
1. RedisException->() /experiments/vendor/ethanhann/redis-raw/src/PhpRedisAdapter.php:23
2. Redis->select() /experiments/vendor/ethanhann/redis-raw/src/PhpRedisAdapter.php:23
I came across an erorr when the Redis password is set. Sample code is as