Jump to content

Recommended Posts

Posted (edited)

I'm getting the following error:

 

no pg_hba.conf entry for host "XXX.XXX.XXIP", user "lunchbox_instaDBer", database "lunchbox_instaquiz.default", SSL off

 

My app insists that I use the database+schema string to connect. is there any way to sort this on the server side? I'm on johnny.heliohost.org

 

PS. I can already connect with "psql -h johnny.heliohost.org -U lunchbox_instaDBer -W lunchbox_instaquiz" without difficulty

Edited by lunchbox
Posted

no, same error:

 

psql: FATAL:  no pg_hba.conf entry for host "xxx.xxx.xxx.xx", user "lunchbox_instaDBer", database "lunchbox_instaquiz.default", SSL off
Posted

I'm not sure what exactly you're trying to do, but rather than using remote postgresql, why don't you set up an api using php or another scripting language on the server?

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