I've got problem with connection to PostgreSQL database. Does XAMPP installation for Windows (xampp-win32-2.4.15-installer) supports SSL connections with this database?
PHP returns me an error:
- Code: Select all
Warning: pg_connect() [function.pg-connect]: Unable to connect to PostgreSQL server: FATAL: no pg_hba.conf entry for host "192.168.0.125", user "xxx", database "db_name", SSL off in D:\Dokumenty\HTML\emrmOnline\inc\psql.php on line 8
How can I turn on SSL? Where is this pg_hba.conf?
Files are located on my local machine but DB is on other computer in LAN.