Secure setup for phpMyAdmin

Recently I had to install phpMyAdmin on a new server that serves several WordPress websites. phpMyAdmin has always given one a few security headaches, not least because in it's natural state it runs in http. Anyone knowing the ip address can simply type in the ipaddress/phpmyadmin into a browser and it will open exposing your …