aut0wash Posted September 1, 2019 Posted September 1, 2019 (edited) 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.postgresqltutorial.com/postgresql-python/connect/So my database.ini file looks like this : [postgresql] host=65.19.141.xx database=databasename user=aut0wash_user1 password=mypassword 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 September 1, 2019 by aut0wash
Flaze Posted September 1, 2019 Posted September 1, 2019 Yes. You need to request for remote access. Escalating... Moved to Customer Service.
Krydos Posted October 13, 2019 Posted October 13, 2019 Sorry, it appears this thread got lost. Are you still needing remote postgresql access?
Recommended Posts