mercredi 16 mars 2016

How to connect to PostgresSQL database with Laravel Homestead?

I have updated the DB connection in my .env file to change the default mysql database to use PostgresSQL DB. But, don't know how to proceed with this.

DB_CONNECTION=pgsql

For example, we use

mysql -uhomestead -psecret <DB Name>

to connect to our database. By using psql, how to connect to DB?

Please anyone help to proceed. Thanks in advance.



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire