title: How to access a Heroku database from pgAdmin4
body: <p>I want to access Heroku database from <code>pgAdmin4</code> on my local machine.</p>
  <p>What I did is the following steps（However, it did not work）</p>
  <ol>
  <li><p>First, I obtained the necessary information with the following <em>command</em> :</p>
  <pre><code>heroku **config**
  </code></pre>
  </li>
  <li><p>Next, enter the information from (1)  into the following form in <code>pgAdmin4</code> :</p>
  <pre><code>[setting,including Host,port,ysername..][1]
  </code></pre>
  </li>
  <li><p>After configuring the settings, I seem to be able to access Heroku, but I cannot open the database.</p>
  <p>（Each table icon has a <code>X</code> (cross) in the upper right corner. Click on any icon to display the message）</p>
  <p><a href="https://i.stack.imgur.com/l2ky5.png" rel="nofollow noreferrer">Icon with a cross in the upper right corner</a><br>
  <a href="https://i.stack.imgur.com/FgO5V.png" rel="nofollow noreferrer">Indicates an error</a></p>
  </li>
  </ol>
  <p>Please let me know how to clear it.</p>