YouTip LogoYouTip

Connection Auth

# Redis Auth Command * (javascript:void(0);) * (javascript:void(0);) * (javascript:void(0);) * (javascript:void(0)) Redis Tutorial (#)(#)(#)(#)(#) ## Redis Commands (#)(#)(#)(#)(#)(#)(#)(#)[Redis Pub/Sub](#)(#)(#)(#)(#)(#)(#) ## Redis Advanced Tutorial [Redis Data Backup & Recovery](#)(#)(#)(#)(#)(#)(#)(#) [](#)(#) (#)[](#) Deep Dive Computer Science Software Scripting Languages Scripts Web Design & Development Programming Web Service Programming Languages Web Services Development Tools # Redis Auth Command !(#)(#) The Redis Auth command is used to check if the given password matches the password set in the configuration file. ### Syntax The basic syntax of the Redis Auth command is as follows: redis 127.0.0.1:6379> AUTH PASSWORD ### Available Since >= 1.0.0 ### Return Value Returns OK if the password matches, otherwise returns an error. ### Example redis 127.0.0.1:6379> AUTH PASSWORD (error) ERR Client sent AUTH, but no password is set redis 127.0.0.1:6379> CONFIG SET requirepass "mypass" OK redis 127.0.0.1:6379> AUTH mypass Ok !(#)(#)
← C Function ReallocEclipse Search Menu β†’