Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What's the meaning of the last part of a redis url?

Tags:

redis

sidekiq

A redis url may look like this:

redis://redis.example.com:7372/12

It is the schema part: 'redis://',
hostname: redis.example.com
port: 7372

What does the number '12' mean at the last part?

like image 825
canoe Avatar asked Feb 13 '23 06:02

canoe


1 Answers

The last number is the database number

like image 143
Sefa Avatar answered Feb 19 '23 16:02

Sefa