-
Notifications
You must be signed in to change notification settings - Fork 238
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
missing password parameter in the connection #44
Comments
you can use client:auth(password) |
redis = require 'redis' |
client:auth, not client.auth |
client:auth( password ) works for me, thanks a lot! |
Hey guys, there are a few different ways to authenticate with redis lua and the method shown above is just one of them. When we configure redis to require a password by changing the redis.conf file and uncommenting the requirepass flag (# requirepass foobared) we use the auth method as below.
However, if we use the acl with a username and password, we must authenticate as follows.
I left some links to help if anyone is facing the same difficulties I went through https://redis.io/commands/auth/ |
No description provided.
The text was updated successfully, but these errors were encountered: