php-resque
php-resque copied to clipboard
redis have a password
My question:
hey when I try to run the worker, how do I get it to get the redis configuration, because my redis have a password.
QUEUE='*' vendor/bin/resque
PHP Fatal error: Uncaught CredisException: NOAUTH Authentication required. in
My Environment
- PHP-Resque version:
- PHP version:7.4
- Redis version:
- Server type and version:
- Operating System and version:
Pass the REDIS_BACKEND eval as well. This variable uses the normal DSN string format (redis://user:pass@host:port).
My question: How to connect redis with only password? I try REDIS_BACKEND=redis://pass@host:port but it is not working
You need the : in front of the password.
I try REDIS_BACKEND=redis://:pass@host:port but it is not working
Huh. PHP must need a fake user, then. Resque ignores it.