title: phpMyAdmin SSL configuration
body: <p>I have 2 MySQL users, a regular 'tommy' and a control user 'tommy_ctl'<br>
  The Apache httpd 2.4.7 runs on 9090 for http and 9080 for https</p>
  
  <p>phpMyAdmin (v4.1.6) config.inc.php file has user/password for 'tommy_ctl'<br>
  I am logging into phpMyAdmin home page as 'tommy'</p>
  
  <p>Now<br>
  a) In config.inc.php<br>
  with  </p>
  
  <pre><code>$cfg['Servers'][$i]['ssl'] = false;  
  $cfg['ForceSSL'] = false;
  </code></pre>
  
  <p>I can logon to  </p>
  
  <pre><code>http://linuxboxA:9090/phpMyAdmin/index.php  
  https://linuxboxA:9080/phpMyAdmin/index.php
  </code></pre>
  
  <p>b) When I set  </p>
  
  <pre><code>$cfg['Servers'][$i]['ssl'] = true; 
  </code></pre>
  
  <p>why does  </p>
  
  <pre><code>https://linuxboxA:9080/phpMyAdmin/index.php 
  </code></pre>
  
  <p>on logon give the error ?:  </p>
  
  <pre><code> #1043 Cannot log in to the MySQL server  
   Connection for controluser as defined in your configuration failed  
  </code></pre>
  
  <p>Is this SSL option not for communication over Apache?  </p>
  
  <p>c) When i set  </p>
  
  <pre><code>$cfg['Servers'][$i]['ssl'] = true;  
  $cfg['ForceSSL'] = true;  
  </code></pre>
  
  <p>The https 9080 url takes many many seconds to open  </p>
  
  <pre><code>https://lnappd201.hphc.org:9080/phpMyAdmin/index.php  
  </code></pre>
  
  <p>and on logon becomes  </p>
  
  <pre><code>https://lnappd201.hphc.org/phpMyAdmin/index.php?token=23771cb3b3851979903c6eb233465fd8  
  </code></pre>
  
  <p>Note, that there's no port# in the redirected url  </p>
  
  <p>Also,</p>
  
  <pre><code>http://lnappd201.hphc.org:9090/phpMyAdmin/index.php 
  </code></pre>
  
  <p>becomes immediately (without any logon)</p>
  
  <pre><code>https://lnappd201.hphc.org/phpMyAdmin/?SID  
  </code></pre>
  
  <p>When 'ForceSSL' is set, phpMyAdmin apparently doesn't know that apache SSL is on port 9080,<br>
  so how does the ForceSSL option work?  </p>
  
  <p>My intention is, even if Apache is running on both the ports, I want phpMyAdmin to use SSL and   ForceSSL (to Apache SSL)  </p>