To use this, you will need the lynx tool, so install that first.
sudo yum install lynx
Now, to get list of all the URLs in local html file or some URL, just execute this:
lynx -dump -listonly
I was having issues with one of the phpmyadmin setups. The first server defined in the config file was not accessible and the theme that I was using was not allowing me to change the server from the first page. This resulted in a state where I was not able to access phpmyadmin in any way. I could not connect to any of the servers. And thus had to hack my way in to phpmyadmin to find out how to connect to other servers from URL. And here is my finding:
In the above, replace server with your server address/IP. and also the number in the end with the server index in you phpmyadmin config file.