what cause the problem of redis (error) ERR operation not permitted?

It depends on what your client is.

If you are using the command line on the same machine. It is probably that you forget to input password. In your redis.conf file - is there a 'requirepass' field that is set (and not commented out with hash tags) - if so, you need to authenticate first like this:

AUTH Pwd (replace Pwd with actual password phrase)

$redis-cli redis 127.0.0.1:6379> AUTH foobared

Once authenticated, you can issue new commands

0 comments

Popular Posts

无觅相关文章插件,迅速提升网站流量