Skip to content
Advertisement

Tag: virtual-machine

Why am I getting SQL State: 28000 FATAL: Ident authentication failed for user error message when running a simple Java program?

I have a Postgres 11 database installed on a VirtualBox virtual machine running Centos7 (guest machine), and my host machine is a Mac OS Catalina. Both the guest (Centos) and host (Catalina) have JDK 8 installed. I have the following simple Java code that uses a single dependency postgresql-42.2.5: I compile and run this on my host (Catalina) : and

Advertisement