Skip to content
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

[BUGS-5944] Command "wp redis cli" fails #390

Open
dvershinin opened this issue Mar 3, 2023 · 1 comment
Open

[BUGS-5944] Command "wp redis cli" fails #390

dvershinin opened this issue Mar 3, 2023 · 1 comment

Comments

@dvershinin
Copy link

When configured a Redis socket in wp-config.php:

$redis_server = array(
    'host'     => '/var/run/redis/redis.sock',
    'database' => 0, // Optionally use a specific numeric Redis database. Default is 0.

Then everything works fine but wp redis cli fails like this:

wp redis cli
Warning: Using a password with '-a' or '-u' option on the command line interface may not be safe.
Could not connect to Redis at /var/run/redis/redis.sock:0: Name or service not known
not connected> 

At the same time redis-cli -s /var/run/redis/redis.sock works fine.

Expected: wp redis cli works without problem.

@pwtyler
Copy link
Member

pwtyler commented Mar 3, 2023

Thanks for the report! We're tracking this internally as BUGS-5944.

@pwtyler pwtyler changed the title Command "wp redis cli" fails [BUGS-5944] Command "wp redis cli" fails Aug 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants