AWS ElasticBeanstalk EC2提供postgresql連接錯誤 [英]AWS ElasticBeanstalk EC2 gives postgresql connection error
psql:錯誤:連接到套接字“/tmp/.s.PGSQL.5432”上的服務器失敗:致命:數據庫“myname”不存在 [英]psql: error: connection to server on socket "/tmp/.s.PGSQL.5432" failed: FATAL: database "myname" does not exist
psql:錯誤:連接到套接字“/var/run/postgresql/.s.PGSQL.5432”上的服務器失敗:致命:用戶“postgres”的對等身份驗證失敗(Ubuntu) [英]psql: error: connection to server on socket "/var/run/postgresql/.s.PGSQL.5432" failed: FATAL: Peer authentication failed for user "postgres" (Ubuntu)