all of a sudden my redis database has started to give errors on some connections:
(error) ERR operation not permitted
I've restarted the redis service and am connecting to it with the client using the correct auth key, it connects everytime but only allows db operations through the client only some of the time.
You can obtain a list of all the supported configuration parameters by typing CONFIG GET * in an open redis-cli prompt. All the supported parameters have the same meaning of the equivalent configuration parameter used in the redis.
You can alter the Redis configuration file directly by opening and editing it with your preferred text editor. For example, you can use nano to do so: sudo nano /etc/redis/redis. conf.
The Redis configuration file is located at installdir/redis/etc/redis. conf.
Try this:
search for the line above in your on the redis config file to check if you have a password set:
requirepass foobared
If that line is not commented out, then you need to do this:
$redis-cli redis 127.0.0.1:6379> AUTH foobared
OK
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With