Jump to content

[Solved] Error In Postgres Configuration Johnny Server, Again


ddanniel

Recommended Posts

I have this error when I try to connect to the database from localhost again

pg_connect(): Unable to connect to PostgreSQL server: FATAL: no pg_hba.conf entry for host
pg_connect("host=localhost user=ddanniel port=5432 dbname=ddanniel_uniway password=*****************")
A few days ago the site fell for several hours and the same problem that had reappeared, I hope you can help me

 

 

 

This is the page: http://uniway.helioh...gister_user.php

And the full error message:

<b>Warning</b>: pg_connect(): Unable to connect to PostgreSQL server: FATAL: no pg_hba.conf entry for host "::1", user "ddanniel", database "ddanniel_uniway", SSL off in<b>/home/ddanniel/public_html/php/functions.php</b> on line <b>19</b><br />

 

 

Link to comment
Share on other sites

The error is still there, there is not conection with the database, you can see it here at the end:

 

view-source:http://uniway.heliohost.org/register_user.php

 

<b>Warning</b>: pg_connect(): Unable to connect to PostgreSQL server: FATAL: no pg_hba.conf entry for host "::1", user "deauvece", database "deauvece_uniway", SSL off in <b>/home/ddanniel/public_html/php/functions.php</b> on line <b>18</b><br />
Error conectando a la base de datos.
Link to comment
Share on other sites

Oh, didn't know I was supposed to view source to see the error. I just expected it to display on the page.

 

Warning: pg_connect(): Unable to connect to PostgreSQL server: FATAL: no pg_hba.conf entry for host "::1", user "deauvece", database "deauvece_uniway", SSL off in /home/ddanniel/public_html/php/functions.php on line 18

Error conectando a la base de datos.

The problem is there is no user named deauvece. Your username is ddanniel.
  • Like 1
Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...