Trouble connecting to Postgresql database in Vagrant guest box with Induction from host machine?

前端 未结 2 1141
心在旅途
心在旅途 2021-01-17 04:51

I\'m trying to connect to my PostgreSQL database which is inside of a guest machine (using Vagrant and VirtualBox).

I\'m trying to connect to it with Induction, but

相关标签:
2条回答
  • 2021-01-17 05:14

    I've seen that connection error when the PostgreSQL service is not running.

    Check the status of the PostgreSQL service: sudo service postgresql status

    Start the service: sudo service postgresql status

    0 讨论(0)
  • 2021-01-17 05:35

    check file pg_hba.conf looks like require allow connection most easy and lesss secure set 'trust' (everyone can use your postgresql) http://www.postgresql.org/docs/9.2/static/auth-pg-hba-conf.html

    0 讨论(0)
提交回复
热议问题