Documentation for installing and setting up phpmyadmin with MacPorts is here: https://trac.macports.org/wiki/howto/MAMP#phpmyadmin However, the regular phpmyadmin documentation on their web site should be sufficient too.