I'm looking to implement postgresql with apache airflow, but first I need to install and set up a postgres database. I'm having a ton of trouble. I've tried many tutorials, like the following:
Link from the postgresql documentation: https://help.ubuntu.com/community/PostgreSQL
The last part of this article: https://www.statworx.com/de/blog/a-framework-to-automate-your-work-how-to-set-up-airflow/
Essentially, when I get to the second command of the first link, or anything where i use "psql" i get the following error:
psql: could not connect to server: Connection refused Is the server running on host "" and accepting TCP/IP connections on port 5432?
I've seen that you have to go into some directory and fix a setting but I don't seem to have the directory. All I need to do is set up a basic username and password with a simple db. I don't even know if the tutorials I'm looking at are the right ones to get me where I want to be - I have no experience with this.
Does anybody have any idea about this error, considering I can't find whatever directory people say to fix (maybe I don't have it because I didn't even begin to install this correctly)? Or a simpler step by step to getting this installed? I'm pretty lost.