Jump to content


Acces to postgresql Database

  • Please log in to reply
2 replies to this topic

#1 aut0wash



  • Members
  • 2 posts

Posted 01 September 2019 - 12:25 PM

Hey !
First time I use a postgresql database, I'm trying to connect to the database with a python script I running on my computer.
I followed this good tutorial to connect to database ; http://www.postgresq...python/connect/
So my database.ini file looks like this :


The host adress correpond to the Johnny server, and others informations to my exemple setup.

While running the script I got an error : "FATAL:  no pg_hba.conf entry for host "xx.xxx.xxx.xx", user "aut0wash_user", database "aut0wash_travian", SSL off"
xx.xxx.xxx.xx is my IP, not the host one.
Do I need to ask for a remote access ?
I tried to use Mysql and it's worked good (I used Remote Mysql) but I wanted to try Postgre this time !

Thx for answer, if I missed some informations tell me ! :)

Edited by aut0wash, 01 September 2019 - 12:26 PM.

#2 flazepe


    Rank X Member

  • Moderators
  • 1,250 posts
  • Gender:Male

Posted 01 September 2019 - 12:30 PM

Yes. You need to request for remote access. Escalating...

Moved to Customer Service.

#3 Krydos


    Rank X Member

  • Root Admin
  • 19,484 posts
  • Gender:Male

Posted 13 October 2019 - 08:08 PM

Sorry, it appears this thread got lost. Are you still needing remote postgresql access?

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users