Discuss.FOLIO.org is no longer used. This is a static snapshot of the website as of February 14, 2023.

How to connect PostgreSQL of Vagrant Debian using database client like Navicat Premium?

folios
31 May '17

I have started Vagrant of folio/folio-backend-auth using vagrant up --provider virtualbox, then I connect its PostgreSQL in Vagrant, but alerted attention like capture:

folios
31 May '17

wayne
31 May '17

I’m not 100% clear what you’re asking. You can connect to the Postgres server directly from the Vagrant box using the psql utility, which is installed there. You could probably (I haven’t tested it, but I think it would work) also connect to it from your host machine using some other client (possibly, Navicat, I’ve never used that), if you update your VM configuration in VirtualBox to forward port 5432 to the host machine. Then on the host machine you could connect to localhost:5432 to see the Postgres server on the Vagrant box.