title: Is it possible to have two Predis connection to different databases of the same Redis instance?
body: <p>I'm trying to create two Predis\Client instances on the same PHP script to separate data belonging to different logical domains. </p>
  
  <p>I do this as follows:</p>
  
  <pre><code>$param1 = [
      'host'     =&gt; 'localhost',
      'port'     =&gt; 6379,
      'database' =&gt; 1,
  ];
  
  $param2 = [
      'host'     =&gt; 'localhost',
      'port'     =&gt; 6379,
      'database' =&gt; 3,
  ];
  
  [... some code ...]
  
  $redis1 = new Predis\Client($param1);
  $redis2 = new Predis\Client($param2);
  </code></pre>
  
  <p>Here is the problem:</p>
  
  <ul>
  <li><code>$redis1</code> correctly stores data into database 1 </li>
  <li><code>$redis2</code> stores data into database 0 instead of 3</li>
  </ul>
  
  <p>Do you have any idea why this happens?</p>