How to connect to PostgreSQL database with Laravel Homestead?
<p>I have updated the DB connection in my <strong>.env</strong> file to change the default mysql database to use PostgreSQL DB. But I don't know how to proceed with this.</p>

<pre><code>DB_CONNECTION=pgsql
</code></pre>

<p>For example, we use</p>

<pre><code>mysql -uhomestead -psecret &lt;DB Name&gt;
</code></pre>

<p>to connect to our database. By using psql, how to connect to DB?</p>