title: How to get hostname, port and username from heroku
body: <p>I have created a PHP project and I am trying to host it online. To do so, I tried linking my database, which is in local phpmyadmin to heroku server. According to this post <a href="https://stackoverflow.com/questions/16801573/how-to-access-remote-server-with-local-phpmyadmin-client">How to access remote server with local phpMyAdmin client?</a>, I learned that phpmyadmin can be linked to online remote server by adding a piece of code at the end of config.inc.php file. But I do not know how to get information such as hostname, port and username from my herokuapp. Please help me out here. How to get information such as hostname, port and username from herokuapp?</p>