Closed ghost closed 4 years ago
This error suggests there's a problem connecting to your postgres database using peer authentication. Have you checked that you're running this script as the eicu
user? Otherwise, have you tried resolving this issue using another means of authentication? E.g., see https://gist.github.com/AtulKsol/4470d377b448e56468baef85af7fd614.
psql "dbname=eicu user=eicu options=--search_path=eicu_crd" -v ON_ERROR_STOP=1 -f postgres_create_tables.sql psql: FATAL: Peer authentication failed for user "eicu" Makefile:347: recipe for target 'eicu-build-gz' failed make: *** [eicu-build-gz] Error 2