title: PHP PDO_MYSQL + mysqlnd_ms not connecting with SSL
body: <p>I've setup mysqlnd_ms to use read/write splitting but when I require SSL (using REQUIRE ISSUER to check signer of client cert) the connection is rejected. It seems that the driver options array that contains the <code>PDO::MYSQL_ATTR_SSL_*</code> paths to the certificate and key files is being ignored with the host matches a <code>mysqlnd_ms config</code>. If I connect with a direct <code>address:port</code> instead of matching with the <code>mysqlnd_ms config</code> it works fine.</p>
  
  <p>The error message does include the right username which is not in the mysqlnd_ms config so at least that is working when making a new PDO object.</p>
  
  <p>I'm using PHP 5.5.25, mysqlnd 5.0.11, mysqlnd_ms 1.5.2, Percona XtraDB Cluster 5.6.21.</p>
  
  <p>My config file:</p>
  
  <pre><code>{
      "10.2.90.27": {
          "master": {
              "master_0": {
                  "host": "10.2.90.27",
                  "port": "33455"
              }
          },
          "slave": {
              "slave_0": {
                  "host": "10.2.90.27",
                  "port": "33406"
              }
          }
      }
  }
  </code></pre>
  
  <p>Yes, the IP is the same for master and slave. It's a VIP shared by two load balancers (HAProxy) and the port number determines which nodes the connection goes to. HAProxy is providing failover because it has the capability to do health checks.</p>
  
  <p>How can I get <code>mysqlnd_ms</code> and PDO_MYSQL using client SSL certificates to work with each other?</p>