$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?
Reference:
https://stackoverflow.com/questions/28193713/change-port-of-mysql-server-in-phpmyadmin
