Deprecated: Function get_magic_quotes_gpc() is deprecated in /home/styllloz/public_html/qa-include/qa-base.php on line 1175

Warning: session_start(): Cannot start session when headers already sent in /home/styllloz/public_html/qa-include/app/users.php on line 162

Warning: Cannot modify header information - headers already sent by (output started at /home/styllloz/public_html/qa-include/qa-base.php:1175) in /home/styllloz/public_html/qa-include/app/users.php on line 1267

Warning: Cannot modify header information - headers already sent by (output started at /home/styllloz/public_html/qa-include/qa-base.php:1175) in /home/styllloz/public_html/qa-include/app/page.php on line 356
Multiple Redis databases on a host - code-flow.club | Q&A

Multiple Redis databases on a host


Warning: count(): Parameter must be an array or an object that implements Countable in /home/styllloz/public_html/qa-theme/donut-theme/qa-donut-layer.php on line 274
0 like 0 dislike
10 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 | 10 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
35,182 users