I'm trying to connect postgresql pgadmin3 with apache airflow, but can't connect with the local database. I've created a server and a database in it. And tried to connect it using connections tab in apache airflow. When I'm running my DAG, the logs showing that I couldn't connect to the server.Is there anything I have to specify in the conf file. Please someone let me know...
Asked
Active
Viewed 968 times
0
-
This does not provide enough information for the question to be answered properly. Please provide a sample of your airflow.cfg or values.yaml, a snapshot of the error message, and how you created the connection and are using it within your DAG. Please see link below regarding connection use and establishing postgres DB: https://airflow.apache.org/docs/apache-airflow/stable/howto/connection.html https://airflow.apache.org/docs/apache-airflow/stable/howto/set-up-database.html#setting-up-a-postgresql-database You will need to make sure that you are providing the correct host, port, schema, user, – Tristan Zaleski Jun 09 '22 at 16:07