(optional) Secure the phpMyAdmin install
Now that phpMyAdmin has been installed, you can optionally secure phpMyAdmin so it can only be accessed from your IP Address. To do this, modify the phpMyAdmin apache2 config file:
/etc/phpmyadmin/apache.conf
At the very top of this file you will see a section like this:
Options FollowSymLinks
DirectoryIndex index.php
We want to add in a "allow" directive to only allow our IP Address range to access phpMyAdmin, so change the top section to look like the following by adding in the allow/deny directives:
Options FollowSymLinks
DirectoryIndex index.php
Order Deny,Allow
Deny from All
Allow from xxx.xxx.xxx.xxx
Where "xxx.xxx.xxx.xxx" is your IP Address, which you can find here:
https://duckduckgo.com/?q=what+is+my+ip
This will only allow your IP address access to phpMyAdmin, which makes it more secure. Restart Apache for the change to take effect: