title: configure multiple databases in zf2
body: <p>How can I configure (and use) multiple databases in Zend Framework 2? Currently I have this in my global.php:</p>
  
  <pre><code>return array(
      'db' =&gt; array(
          'driver'         =&gt; 'Pdo',
          'dsn'            =&gt; 'mysql:dbname=my_db;host=localhost',
          'driver_options' =&gt; array(
              PDO::MYSQL_ATTR_INIT_COMMAND =&gt; 'SET NAMES \'UTF8\''
          ),
          'username' =&gt; 'user',
          'password' =&gt; '******',
      ),
      'service_manager' =&gt; array(
          'factories' =&gt; array(
              'Zend\Db\Adapter\Adapter' =&gt; 'Zend\Db\Adapter\AdapterServiceFactory',
          ),
      ),
  );
  </code></pre>
  
  <p>But I do not see a way to add a second one.</p>