title: Connecting to mysql using ssl in Zend framework
body: <p>Using this code I'm able to connect to mysql using zend framework normally:</p>
  
  <pre><code>resources.db.adapter = "Pdo_Mysql"
  resources.db.params.host = "xx.xx.xx.xx"
  resources.db.params.username = "test_user"
  resources.db.params.password = "test_pass"
  resources.db.params.dbname = "test_database"
  resources.db.params.port="xxxx"
  
  ;parameters here for ssl connection??
  </code></pre>
  
  <p>In my <code>Controller</code>:</p>
  
  <pre><code>  public function indexAction() {
          $config = new Zend_Config_Ini('/path/to/application.ini', 'development');
          $db = Zend_Db::factory($config-&gt;resources-&gt;db);
          $sql = 'SELECT * FROM test_table';
          $result = $db-&gt;fetchAll($sql);
  
          echo '&lt;pre&gt;';
          print_r($result);
      }
  </code></pre>
  
  <p>Now the problem is that I want to connect to mysql using <strong>ssl</strong>, but I haven't found any documentation on how to do that.</p>
  
  <p>I managed to make a connection using Navicat to the server with the help of the database admin by configuring the ssl connection as follows:
  <img src="https://i.stack.imgur.com/BUMKO.png" alt="enter image description here"></p>
  
  <p>The problem now is how to connect using php?</p>