title: How to connect to database through SSH using DataGrip
body: <p>To connect and set up properly with a command line, I &quot;simply&quot; have to do:</p>
  <ol>
  <li><code>ssh &lt;MY_USERNAME&gt;@&lt;URL&gt; -L 1139:arcade:139</code></li>
  <li>Enter <code>&lt;MY_PASSWORD&gt;</code></li>
  <li><code>psql -h postgres</code></li>
  <li><code>\c ift2935</code></li>
  <li><code>set search_path to inscriptions_devoir;</code></li>
  </ol>
  <p>However, I've been tempted to use a more complex tool than the command line to explore the database and try out different SQL commands. Being a fan of <code>JetBrains</code>, I've decided to try out <code>DataGrip</code>.</p>
  <p>I have indeed read <a href="https://www.jetbrains.com/help/datagrip/connecting-to-a-database.html#connect-to-postgresql-database" rel="noreferrer">the actual help page</a> but it doesn't provide me with the information I need.</p>
  <p>I lack the understanding of the jargon to know the correspondance, in terms, between the different lines I had to enter and the actual field-names that I am supposed to enter in <code>DataGrip</code>.</p>
  <p><a href="https://i.stack.imgur.com/ZMEUm.png" rel="noreferrer"><img src="https://i.stack.imgur.com/ZMEUm.png" alt="DataGrip connection" /></a></p>
  <p>My question is quite simple: <strong>what and where do I type the stuff ?</strong></p>