title: Change Port of Mysql Server in Phpmyadmin
body: <p>I have two instances of MySql (<code>5.1.73-1-log</code>) running on my server, one on port 3306 (default), one on port 3307. Now, I want to change PhpMyAdmin (<code>3.3.7deb7</code>)  to take the second instance, on 3307, instead the default one. 
  Thus, I add the following line to <code>config.inc.php</code>:</p>
  
  <pre><code>    $cfg['Servers'][$i]['port'] = '3307';
  </code></pre>
  
  <p>Now, though PhpMyAdmin says <code>localhost:3307</code> (look Screenshot), the databases that it accesses are still those from the instance that runs on the default port.</p>
  
  <p>How do I change the settings in order to make the port change real?</p>
  
  <p><img src="https://i.stack.imgur.com/KHEHf.png" alt="enter image description here"></p>