Export to GitHub

redis - issue #459

Help with redis AUTH


Posted on Feb 16, 2011 by Happy Cat

Redis 2.0.4 Redis 2.2.0 RC3

I write my own program, using c++ and linux. In the config file, i set a password, and after call

[code] boost::shared_ptr<redis::client>( new redis::client(redis_host, redis_port) ); [/code]

I got "operation not permitted", i don't understand why ? Someone please help me

Comment #1

Posted on Mar 6, 2011 by Happy Elephant

This error reply is returned when a client is not authenticated. You probably have an error authenticating in the first place. See the protocol spec: http://redis.io/topics/protocol and http://redis.io/commands/auth .

Status: Invalid

Labels:
Type-Defect Priority-Medium