I have two instances of MySql (5.1.73-1-log
) running on my server, one on port 3306 (default), one on port 3307. Now, I want to change PhpMyAdmin (3.3.7deb7
) to take the second instance, on 3307, instead the default one.
Thus, I add the following line to config.inc.php
:
$cfg['Servers'][$i]['port'] = '3307';
Now, though PhpMyAdmin says localhost:3307
(look Screenshot), the databases that it accesses are still those from the instance that runs on the default port.
How do I change the settings in order to make the port change real?