redis-lua icon indicating copy to clipboard operation
redis-lua copied to clipboard

Connect ignores database number in path of URL

Open drauschenbach opened this issue 6 years ago • 0 comments

Given the code:

local client = redis.connect('redis://localhost:6379/9')

The expected result is that database #9 is either selected, or the connect should fail. This is standard in many other client libs for Redis.

This is similar to issue #44, where a password in the URL is also ignored.

drauschenbach avatar Feb 25 '19 21:02 drauschenbach