Multiple Redis databases on a host


Warning: count(): Parameter must be an array or an object that implements Countable in /home/styllloz/code-flow.club/qa-theme/donut-theme/qa-donut-layer.php on line 274
0 like 0 dislike
3 views
Is it possible to host multiple separate databases, Redis on the same host?

At least in php drivers is not possible to specify a particular base. The use of pseudonyms (somewhere on the Internet there was an option) does not roll — too little protection.
by | 3 views

3 Answers

0 like 0 dislike
you can run multiple rediscov — each hanging on a separate port — each with its own base
by
0 like 0 dislike
the radish can hold several databases, by default, the client connects to the database number 0
in the config you can specify the maximum possible number of databases
\r
select database the select command (http://code.google.com/p/redis/wiki/SelectCommand)
by
0 like 0 dislike
As a variant to intercept the address and add a prefix to the key.
by

Related questions

0 like 0 dislike
1 answer
asked May 21, 2019 by Khomedov
0 like 0 dislike
1 answer
asked May 3, 2019 by muldy
0 like 0 dislike
1 answer
asked May 2, 2019 by MrOnatsky
0 like 0 dislike
1 answer
0 like 0 dislike
1 answer
110,608 questions
257,186 answers
0 comments
22,957 users