Skip FOLIO Project Navigation

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


#1

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:


#2


#3

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.