Hi,
I am running this script but it giving error.
vacuumdb: could not connect to database postgres: could not connect to
server: No such file or directory
Is the server running locally and accepting
connections on Unix domain socket "/tmp/.s.PGSQL.5432"?
Can you please help me on this?
Check Postgres Server running or not ?
If running, check on which port its running ?
Accordingly edit the script and place below environment variables, then call the script.
PGUSER=postgres
PGPORT=5432 ## Give the port on which your server running