juanpablopernia

Registered
Aug 14, 2014
1
0
1
cPanel Access Level
Website Owner
Good morning, I have de next error:
Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[08006] [7] FATAL: no pg_hba.conf entry for host "::1", ...

I am using PDO PHP with PostgreSQL in the lasted version cPanel 11.44
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,913
2,203
363
Hello :)

Do you have root access to this server? If so, you can browse to the following option in WHM and click on "Install Config" and update the password:

"WHM Home » SQL Services » Configure PostgreSQL"

However, you should also check your script's configuration file to see what settings you are using for "Host".

Thank you.